/*
Theme Name: OPTIM
Theme URI: 
Description: A clean and minimal theme that is completely compatible with WordPress 3.0
Author: John Rey Pangan
Author URI: http://johnrey-pangan.tk/
Version: 1.0.0
*/

/*================CSS Reset==========*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,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:before,blockquote:after,q:before,q:after{content:none}
table{border-collapse:collapse;border-spacing:0}

/*===================================*/
.gform_required_legend {display:none !important;}
body {width:100%;margin:0px;padding:0px;background:#ebebeb;font-family: 'Myriad Pro',Arial, Helvetica, sans-serif;font-size:16px;}
body.innerPage {background:url(images/bgTop.jpg) repeat-x left top, url(images/bgBottom.jpg) repeat-x left bottom;}
h1,h2,h3,h4,h5,h6 {color:#a1a1a1;margin:15px 22px;font-size:23px;}

/****HEADER***/
#header {width:100%;height:105px;box-shadow:0px 0px 5px #000;position:relative;z-index:5;}
#headerTop {width:1000px;margin:auto;position:relative;}
#logo {float:left;width:145px;height:77px;margin:14px 0px 0px 14px;}
#logo img {width:145px;height:77px;}

.innerPage #header {box-shadow:none;}
.innerPage #headerTop {height:105px;border-bottom:1px solid #c2c2c2;}

#menu {float:right;margin-top:52px;}
#menu>ul {text-align:right;text-transform:uppercase;font-size:13px;}
#menu>ul>li {display:inline;margin:0px 12px;}
#menu>ul>li:last-child {margin-right:0px;}
#menu>ul>li:first-child {margin-left:0px;}
#menu>ul>li a {color:#892323;text-decoration:none;padding-bottom:4px;display:inline-block;}
#menu>ul>li>a:hover, #menu>ul>li.current-menu-item>a, #menu>ul>li.current-menu-ancestor>a {color:#000;}

#menu ul li.current-page-ancestor ul.sub-menu {display:block !important;}
#menu ul li:hover ul.sub-menu {display:block;z-index:50;}
#menu ul li ul.sub-menu {text-transform:none;font-size:12px;text-align:left;display:none;position:absolute;background:#ebebeb;width:80%;}
#menu ul li ul.sub-menu li {float:left;margin-right:35px;}
#menu ul li ul.sub-menu li:last-child {border-bottom:0px;}
#menu ul li ul.sub-menu li a {color:#000;text-decoration:none;padding:10px 0px 10px 18px;display:block;}
#menu ul li ul.sub-menu li a:hover, #menu ul li ul.sub-menu li.current-menu-item a, #menu ul li ul.sub-menu li.current-menu-ancestor a {text-decoration:none;background:url(images/submenuHover.png) no-repeat left center;}

/**#menu ul li ul.sub-menu li:hover ul.sub-menu {display:block;}**/
#menu ul li ul.sub-menu li ul.sub-menu {display:none;position:absolute;left:200px;margin-top:-35px;}
#menu ul li ul.sub-menu li ul.sub-menu li a {background:none;}
#menu ul li ul.sub-menu li ul.sub-menu li a:hover, #menu ul li ul.sub-menu li ul.sub-menu li.current-menu-item a {background:#0670a5;}

#searchForm {position:absolute;top:14px;right:0px;width:198px;}
#searchForm label {display:none;}
#searchForm input#s {width:175px;height:20px;background:none;padding-left:5px;border:0px;border-left:2px solid #892323;color:#892323;font-size:15px;}
#searchForm #searchsubmit {width:16px;height:19px;background:url(images/searchBtn.png) no-repeat;border:0px;text-indent:-999px;oveflow:hiddden;position:absolute;right:0px;top:0px;cursor:pointer;}

#banner {width:100%;height:202px;position:relative;background:#e1dddd;z-index:1;overflow:hidden;margin-bottom:20px;}
#banner .bx-viewport {}
#banner ul.bannerSlider {}
#banner ul.bannerSlider p {font-size:34px;color:#fff;font-style:italic;position:absolute;top:134px;left:132px;}
#banner ul.bannerSlider img {width:100%;height:241px;}
#banner .bx-controls-direction a {width:36px;height:36px;display:block;text-indent:-999px;overflow:hidden;position:absolute;top:225px;}
#banner .bx-controls-direction a.bx-next {background:url(images/arrowRight.png) no-repeat;right:-46px;}
#banner .bx-controls-direction a.bx-prev {background:url(images/arrowLeft.png) no-repeat;left:-46px;}
#banner .bx-pager {position:absolute;bottom:31px;right:44px;}
#banner .bx-pager .bx-pager-item {float:left;margin:0px 1px;}
#banner .bx-pager a {width:18px;height:18px;display:block;background:url(images/pagerBtn.png) no-repeat 0px 0px;text-indent:-999px;overflow:hidden;}
#banner .bx-pager a.active {background:url(images/pagerBtn.png) no-repeat -21px 0px}


/****CONTENT****/
#content {width:1000px;margin:auto;padding-bottom:20px;padding-top:15px;}
#content p {margin:15px 22px;line-height:1.25em;}
.contentHome ul.homeBtn {text-align:center;}
.contentHome ul.homeBtn li {display:inline;margin:0px 12px;}
.contentHome ul.homeBtn li:last-child {margin-right:0px !important;}

.innerPage #content {padding-top:13px;}
#contentMain {width:802px;float:left;padding-right:12px;border-right:1px solid #c2c2c2;}
.pageText {background:#dcdcdc;padding-top:8px;padding-bottom:8px;border-radius:15px;box-shadow:5px 10px 15px #c0bebe;}
.pageText h1,.pageText h2,.pageText h3,.pageText h4,.pageText h5,.pageText h6 {color:#000;font-weight:bold;}
.pageText h2 {font-size:20px;}
.pageText h2 a {color:#000;text-decoration:none;}
.pageText h3,.pageText h4,.pageText h5,.pageText h6 {font-size:18px;}
.pageText>ul {margin:15px 22px;list-style:disc inside;}
.pageText>ul>li {line-height:1.25em;}
.pageText>ul>li>a {color:#000;}
.pageText ol {margin:15px 22px;list-style:decimal inside;}
.pageText ol li {line-height:1.25em;}
.pageText table {margin:15px 22px;}
.pageText table td {padding:5px 60px 5px 0px;}
.pageText .toggle h2 {cursor:pointer;}
.pageText .toggle .contentdiv {margin:0px;padding:0px;}
.pageText .toggle .contentdiv p {margin:0px 22px 15px 22px !important;}
.pageText #cform {float:right;width:300px;margin-right:22px;margin-left:20px;}
.pageText #cform .textfield input {width:100%;}
.pageText #cform textarea {width:100%;}
.pageText ul#networks {list-style:none !important;}
.pageText ul#networks li {width:221px;height:150px;margin-right:30px;margin-bottom:20px;float:left;position:relative;}
.pageText ul#networks li img {width:221px;height:116px;cursor:pointer;}
.pageText ul#networks li .netDesc {width:221px;position:absolute;z-index:4;background:#dcdcdc;border:2px solid #fff;top:108px;display:none;margin-left:8px;}
.pageText ul#networks li h2 {font-size:11px !important;}
.pageText ul#networks li h2,.pageText ul#networks li p {margin:8px;}

.pageText .toggle h2 {background:url(images/h2Bg.png) no-repeat right center;}

/***SIDEBAR***/
#sidebar {float:right;width:176px;}
#sidebar p {font-size:13px;margin:15px 0px;}
#sidebar h2 {margin:15px 0px;}


/****FOOTER****/
#footer {width:1000px;height:78px;border-top:1px solid #c2c2c2;margin:auto;}
.innerPage #footer {height:42px;}
#langBtn {width:150px;float:left;margin-top:5px;}
#langBtn a {width:41px;height:41px;display:block;text-indent:-999px;overflow:hidden;float:left;}
#langBtn a.lang1 {background:url(images/flagIcon.png) no-repeat left top;}
#langBtn a.lang2 {background:url(images/flagIcon.png) no-repeat center top;}
#langBtn a.lang3 {background:url(images/flagIcon.png) no-repeat right top;}

#footerMenu {float:right;margin-top:10px;}
#footerMenu ul {text-align:right;font-size:14px;text-transform:uppercase;}
#footerMenu ul li {display:inline;margin:0px 20px;}
#footerMenu ul li:last-child {margin-right:0px;}
#footerMenu ul li a {color:#1e1e1e;text-decoration:none;}
#footerMenu ul li a:hover {text-decoration:underline;}

/****FORMS****/
#contentInner .gform_wrapper {margin:0px 0px 0px 20px;padding:0px;}
#contentInner .gform_wrapper li {margin:0px;padding:0px;}
#contentInner .gform_wrapper label {color:#000;font-size:14px;font-weight:normal;}
#contentInner .gform_wrapper input {height:28px;border:0px;padding:0px 10px;box-shadow:inset 0px 0px 4px #b0a8a8;-moz-box-shadow:inset 0px 0px 4px #b0a8a8;-ms-box-shadow:inset 0px 0px 4px #b0a8a8;-o-box-shadow:inset 0px 0px 4px #b0a8a8;-webkit-box-shadow:inset 0px 0px 4px #b0a8a8;}
#contentInner .gform_wrapper textarea {width:47% !important;border:0px;padding:0px 10px;box-shadow:inset 0px 0px 4px #b0a8a8;-moz-box-shadow:inset 0px 0px 4px #b0a8a8;-ms-box-shadow:inset 0px 0px 4px #b0a8a8;-o-box-shadow:inset 0px 0px 4px #b0a8a8;-webkit-box-shadow:inset 0px 0px 4px #b0a8a8;}
#contentInner .gform_wrapper .gform_footer {}
#contentInner .gform_wrapper .gform_footer .gform_button {cursor:pointer;color:#fff;background:#e7a300;border:0px;padding:0px 47px;height:28px;font-size:14px;}


/******misc***************/
.clear {clear:both;}
.wrapper {width:1119px;margin:auto;position:relative;}
.alignleft {float:left;margin-right:15px;}
.alignright {float:right;margin-left:15px;}
strong, b {font-weight:bold;}
a img {border:none;}
hr {background:#fff;border:0px;height:1px;margin:15px 22px;}
.lastChild {margin:0px !important;}
.firstChild {margin-left:22px !important;}
.column {float:left;margin-right:15px;width:165px;height:355px;overflow:hidden;position:relative;}
.column h2, .column p, .column ul {margin-left:0px !important;margin-right:0px !important;}
a.colMore {position:absolute;bottom:0px;width:100%;padding:12px 0px;background:#dcdcdc;cursor:pointer;color:#942330;font-style:italic;}
.copyright {margin-top: 10px;font-size: 12px;text-align: right;}


@media (max-width: 767px) {
	#content {width:100%;}
	.contentHome ul.homeBtn li {display:inline-block;width:40%;}
	.contentHome ul.homeBtn li img {width:100%;height:auto;}
}