/*     --html
------------------------------------------------- */
html {height: 100.1%; margin-bottom: 1px;}

/*     --css-framework
------------------------------------------------- */
.half_width, 
.one_half     { width: 47.8%; }
.one_third    { width: 30.5%; }
.two_third    { width: 65.3%; }
.one_fourth   { width: 21.9%; }
.one_fifth    { width: 16.7%; }
.three_fourth { width: 74%;   }
.four_fifth   { width: 79%;   }
.two_fifth    { width: 37.2%; }
.three_fifth  { width: 58%;   }
.one_sixth    { width: 13.3%; }
.four_sixth   { width: 65.4%  }
.one_half, .half_width, .one_third, .two_third, .one_fourth, .one_fifth, .four_fifth, .one_sixth, .two_fifth, .three_fifth, .four_sixth, .three_fourth {position: relative;	display: inline-block; margin-right: 3.6%; vertical-align: top;}
.last {margin-right: 0 !important;}

/*     --foundation icons
------------------------------------------------- */
@font-face {
  font-family: 'FoundationIconsGeneral';
  src: url('../fonts/foundation-icons-general.eot');
  src: url('../fonts/foundation-icons-general.eot?#iefix') format('embedded-opentype'),
       url('../fonts/foundation-icons-general.woff') format('woff'),
       url('../fonts/foundation-icons-general.ttf') format('truetype'),
       url('../fonts/foundation-icons-general.svg#FoundationIconsGeneral') format('svg');
  font-weight: normal;
  font-style: normal;
}
.glyph {font-size: 50px; line-height: 1; font-family: "FoundationIconsGeneral";}

/*     --tags
------------------------------------------------- */
a {color: #444; text-decoration: none;}
p {margin-bottom: 15px;}
blockquote {font-style: italic; font-size: 16px; margin-bottom: 20px;}
blockquote p {line-height: 22px;}
cite, em, i {font-style: italic; color: #999; font-size: 14px;}
img {width: auto; max-width: 100%; height: auto; vertical-align: middle;}

/*     --list in ce_text
------------------------------------------------- */
.ce_text ul, .ce_list ul {padding-left: 20px; margin-bottom: 15px;}
.ce_text li, .ce_list li {list-style-type: square; list-style-position: outside; margin-bottom: 3px; line-height: 18px;}

/*     --headlines
------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {font-family: 'Open Sans', sans-serif; font-weight: 300; line-height: 1.3em;}
h1 {font-size: 30px; margin-bottom: 20px;}
h2 {font-size: 22px; margin-bottom: 15px;}
h3 {font-size: 20px; margin-bottom: 10px;}
h4 {font-size: 18px; margin-bottom: 10px;}
h5 {font-size: 13px; margin-bottom: 10px;}
h6 {font-size: 13px; margin-bottom: 10px;}

/*     --body background-color:#EFEFEF; 
------------------------------------------------- */
body {color: #595151; font-family: 'Open Sans', Arial, Verdana, sans-serif; line-height: 20px; font-size: 12px; overflow-x: hidden;}

/*     --header
------------------------------------------------- */
#header .inside {width: 1002px; margin: 0 auto;}

/*     --wrapper
------------------------------------------------- */
#wrapper {margin: 0 auto; width: 1002px; margin-bottom: 20px;}

/*     --logo
------------------------------------------------- */
#logo {position: absolute; left:-8px; top:; z-index:123456789123456789;}

/*     --container
------------------------------------------------- */
#container {clear: both; padding: 30px 0;}

/* sidebar_left */
body.sidebar_left #main {overflow: hidden; width:65%; float:left; position:relative;}
body.sidebar_left #left {overflow: hidden; margin-right: 5%; width:30%; float:left; position:relative;}
body.sidebar_left #left .inside {border-right: 1px solid #ddd;}

/* sidebar_right */	
body.sidebar_right #main {overflow: hidden; width:65%; float:left; position:relative;}
body.sidebar_right #right {overflow: hidden; margin-left: 5%; width:30%; float:left; position:relative;}
body.sidebar_right #right .inside {border-left: 1px solid #ddd;}
	
/* sidebar_both */
body.sidebar_both #main {overflow: hidden; width:48%; float:left; position:relative;}
body.sidebar_both #right {overflow: hidden; margin-left: 4%; width:22%; float:left; position:relative;}
body.sidebar_both #right .inside {border-left: 1px solid #ddd;}
body.sidebar_both #left {overflow: hidden; margin-right: 4%; width:22%; float:left; position:relative;}
body.sidebar_both #left .inside {border-right: 1px solid #ddd;}

#right .inside, #left .inside {padding: 20px;}

/*     --footer
------------------------------------------------- */
#footer {background-color:#ffdc00;}
#footer .inside {width: 1002px; margin: 0 auto; padding: 20px 0;}

	/*     --pagination
------------------------------------------------- */
.pagination {clear: both; border-top: 1px solid #ddd; padding-top: 5px;}
.pagination ul {padding: 0; float: left;}
.pagination p {float: right;}
.pagination li {background: none; padding: 0; margin: 0; float: left; list-style-type: none;}
.pagination li a,
.pagination li span {background: #333; display: block; margin-right: 1px; color: #fff; text-decoration: none; padding: 3px 7px;}
.pagination li span.current {background: #666;}

	/*     --welcome-line
------------------------------------------------- */
.welcome-line {border-top: 1px solid #c7c7c7; border-bottom: 1px solid #c7c7c7; padding: 30px 0; margin: 0 0 25px 0; text-align:center; font-size:4em; font-family:Georgia, "Times New Roman", Times, serif; line-height:1.3;}

	/*     --teaser-boxes
------------------------------------------------- */
#teaser_boxes {text-align: center; margin-bottom: 20px; min-height: 220px;}
#teaser_boxes .glyph {display: block; margin-bottom: 25px; color: #ffdc00;}
#teaser_boxes .one_fourth {background: #fff; border: 1px solid #e3e3e3; padding: 15px;}
#teaser_boxes h3 {color: #595151;}

/*     --ce_gallery framework
------------------------------------------------- */
.ce_gallery .row1 {width: 100%;}
.ce_gallery .row2 {width: 49.5%;}
.ce_gallery .row3 {width: 32.6%;}
.ce_gallery .row4 {width: 24.25%;}
.ce_gallery .row5 {width: 19.2%;}
.ce_gallery .row6 {width: 15.83%;}
.ce_gallery .row7 {width: 13.2%;}
.ce_gallery .row8 {width: 11.62%;}
.ce_gallery .row9 {width: 10.22%;}
.ce_gallery .row10 {width: 9.1%;}
.ce_gallery .row11 {width: 8.18%;}
.ce_gallery .row12 {width: 7.41%;}
.ce_gallery .row2, .ce_gallery .row3, .ce_gallery .row4, .ce_gallery .row5, .ce_gallery .row6, .ce_gallery .row7, .ce_gallery .row8, .ce_gallery .row9, .ce_gallery .row10, .ce_gallery .row11, .ce_gallery .row12 {margin-right: 1%;}
.col_last {margin-right: 0;}

/*     --galerie
------------------------------------------------- */
.ce_gallery ul {letter-spacing: -4px; word-spacing: -4px;}
.ce_gallery li {vertical-align: middle; padding-bottom: 10px; display: inline-block; position: relative; font-size: 0;}
.ce_gallery li.col_last {margin: 0;}

/* hover-effect */
.ce_gallery li img:hover {-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";	opacity:.5;}
.ce_gallery li img {-webkit-transition:all .2s ease-in-out;	-o-transition:all .2s ease-in-out;	-moz-transition:all .2s ease-in-out; transition:all .2s ease-in-out;}