/*
Created on : 7-Feb-2018, 5:29:05 PM
Author : robw
*/

/*--------------------------------------------------------------
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;

}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing: border-box;
}
body {
	background-color: #e6edf3;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #444;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 1.8;
	font-weight: 300%;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
	font-family: 'Lato', sans-serif;
	line-height: 1.3;
	margin-bottom: 15px;
	color: #888;
	font-weight: 300%;
}
p {
	margin-bottom:20px;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 15px;
	font-size: 20px;
	font-style: italic;
	font-family: 'Lato', sans-serif;
	font-weight: 300%;
}
address {
	margin: 0 0 15px;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

h1{ font-size:30px;}
h2{ font-size:26px;}
h3{ font-size:22px;}
h4{ font-size:20px;}
h5{ font-size:18px;}
h6{ font-size:16px;}
/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 15px;
}
ul, ol {
	margin: 0 0 15px 20px;
}
ul {
	list-style: circle;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 15px;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 15px 15px;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 0;
}
table {
	margin: 0 0 15px;
	width: 100%;
	border-collapse: collapse;
}
th {
	font-weight: bold;
	border: 1px solid #CCC;
	padding:5px 10px;
}
td{
	border: 1px solid #CCC;
	padding: 5px 10px;
}

.contentarea {
	display: block;
	background: #FFF;
	width: 100%;
	max-width: 1000px;
	box-shadow: 0 0 12px #999;
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin-left: auto;
	margin-right: auto;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

#masthead{
	border-bottom: 1px solid #EEE;
	position: relative;
	padding-bottom: 20px;
	padding-top: 10px;
	margin-bottom: 20px;
	height: 65px;
}

#masthead #top-header{
	background: #004586;
}


.logo {
	text-align: left;
	font-size: 200%;
	color: #004586;
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 5px;
	height: 50px;
	float: right;
	text-decoration: none;
	vertical-align: text-top;
	top: 0px;
	right: 0px;
	left: 0;
	position: absolute;
	padding-right: 20px;
}

a {
	color: #01aefd;
	text-decoration: none;
	transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
}
a:visited {
}
a:hover,
a:focus,
a:active {

}

/*--------------------------------------------------------------
Menu
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: none;
	font-weight: 300%;
	font-family: 'Lato', sans-serif;
	top: 0px;
	position: relative;
	background: #FFF;
	padding-left: 20px;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	display: inline-block;
	position: relative;
	line-height:24px;
	font-size:14px;
	text-transform: uppercase;
	color:#ababab;
	white-space: nowrap;
}

.main-navigation.menu-right{
	text-align: right;
}

.main-navigation.menu-center{
	text-align: center;
}

.main-navigation.menu-right li{
	margin-right:0;
}

.menu-main-menu-container {
	padding-top: 10px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #888;;
	padding: 0 5px;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0;
	position: absolute;
	z-index: 99999;
	background: #FFF;
	top: 100%;
	border-bottom: 3px solid #004586;
	border-top: 3px solid #004586;
	transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
}

.main-navigation ul li.more-menu-item > ul{
	right:0;
	left:auto;
}

.main-navigation ul ul ul {
	left: 100%;
	top: 0;
	border-top:none;
}

.main-navigation ul ul a {
	min-width: 150px;
	padding: 0;
}

.main-navigation ul ul li {
	font-size: 16px;
	line-height: 18px;
	border-bottom: 1px solid #DDD;
	margin: 0 !important;
	padding:10px 15px;
	display: block;
	text-align: left;
	text-transform: none;
}

.main-navigation ul ul li:last-child{
	border-bottom: none;
}

.main-navigation li:hover > a {
	background: #004586;
	color: #FFF;
}

.main-navigation ul ul li:hover > a ,
.main-navigation ul ul li.current-menu-item > a {
	color:#004586;
}

.main-navigation ul ul a{
	color: #666;
	background: none !important;
	font-size: 80%
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	display: block;
}

.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_parent > a {
	color: #FFF;
	background: #004586;
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: block;
	float: right;
	margin-top: 5px;
	margin-right: 10px;
	height: 32px;
	width: 32px;
	font-size: 150%;
	background: #004586;
	color: #FFF;
	text-align: center;
	padding-top: 4px;
}

.hide{
	display: none;
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 15px;
	overflow: hidden;
}

.site-main .post-navigation{
	margin-top: 40px;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


.sub-menu {
	display: none;
	font-size: 80%;
}

#call-to-action .action-btn{
	background: none;
	border:2px solid #FFF;
	border-radius: 0;
}

#call-to-action .action-btn:hover{
	background: #FFF;
	color:#004586;
}

#content{
	padding: 25px 0;
}

.bttn:after,
.event-date-archive,
.portofolio-layout .entry-title,
#call-to-action,
.event-thumbnail .event-date,
#bottom-section,
.featured-post .featured-overlay,
#slider-banner .bx-wrapper .bx-pager.bx-default-pager a:after,
.number404{
	background: #004586;
}
.rtl .main-navigation{
	float: left;
}

.rtl .main-navigation li{
	float: right;
}

.rtl .main-navigation ul ul{
	left: auto;
	right: 0;
}

.rtl .main-navigation ul ul li{
	float: none;
}

.rtl .sidebar h3.widget-title,
.rtl .page-header{
	border-right:0;
}

/*--------------------------------------------------------------
Big Buttons
--------------------------------------------------------------*/

.bigbutton {
	position: relative;
	text-decoration: none;
	display: inline-block;
	border-color: #004586;
	width: 120px;
	height: 40px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-style: solid;
	border-width: 1px;
	background-color: rgba(0, 69, 134, 1);
	-webkit-box-shadow: 0px 0px 2px 0px #333;
	-moz-box-shadow: 0px 0px 2px 0px #333;
	box-shadow: 0px 0px 2px 0px #333;
	margin-bottom:	15px;
}

.bigbutton:hover {
	border-color: #004586;
	background-color: rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0px 0px 2px 0px #333;
	-moz-box-shadow: 0px 0px 2px 0px #333;
	box-shadow: 0px 0px 2px 0px #333
}

.bigbutton.text {
	color: #fff;
	font-family: Arial;
	font-size: 20px;
	text-align: center;
	font-style: normal;
	font-weight: normal;
	padding-top: 7px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	line-height: 1em;
	box-sizing: border-box;
	display: block;
	background-color: unset
}

.bigbutton:hover .text {
	color: #004586
}

/*--------------------------------------------------------------
Slider
--------------------------------------------------------------*/

@keyframes fadeinout {
	0% {
		opacity: 0
	}

	25% {
		opacity: 1
	}
	75% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

.fadeinout {
	animation:fadeinout 5s infinite;
}

.white,.hover-white:hover {
	color: #000!important;
	background-color: #fff!important
}

.site-footer a{
	width:100%;
	color: #BBB;
}

.slider {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	display: block;
}

.slide {
	position: relative;
	display:none;
	margin-left: auto;
	margin-right: auto;
	animation:fadeinout 5s infinite;
}

.slide.img {
	height: auto;
	max-width: 100%;
}

.slide .img.caption {
	display: block;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.85);
	color: #BBB;
	text-align: left;
	text-indent: 10px;
	height: 35px;
	width: 100%;
	overflow: hidden;
	margin-bottom: 8px;
	padding-top: 5px;
}


.slider.left, .slider.right {
	display: block;
	position: absolute;
	top: 40%;
	cursor: pointer;
	background-color: rgba(00, 69, 134, .25);
	color: #FFF;
	border-radius: 22px;
	width: 22px;
	font-size: 32px;
	height: 22px;
	line-height: 23px;
	text-align: center;
	transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
}
.slider.left {
	/*float: left;*/
	left: 0px;
	padding-right: 2px;
	margin-left: 10px;
}
.slider.right {
	/*float: right;*/
	right: 0px;
	padding-left: 2px;
	margin-right: 10px;
}
.navbar {
	width: 95%;
	margin: 0 auto 0 auto;
	position: relative;
}

.navbar.middle {
	display: inline;
	position: absolute;
	left: 50%;
	transform: translate(-50%,0%);
	-ms-transform: translate(-50%,0%);
	text-align: center!important;
}

.dot {
	background-color: #000;
	color: #fff;
	display: inline-block;
	border-radius: 8px;
	border: 1px solid #ccc!important;
	cursor:pointer;
	height: 8px;
	width: 8px;
	box-shadow: 0 0 12px #999;
	transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
}

/*--------------------------------------------------------------
Site Footer
--------------------------------------------------------------*/

.footer {
	background-color: rgba(0,0,0,0.85);
	height: 35px;
	font-size: 14px;
	margin-top: 25px;
	padding-top: 10px;
	width:100%;
	color: #CCC;
	position: relative;
}
.footer .text {
	padding-top: 15px;
	margin-left: 20px;
	background-color: rgba(0,0,0,0);
}
.footer .a{
	background-color: rgba(0,0,0,0);
	text-decoration: none;
	color: #BBB;
}
.footer.a:hover {
	background-color: rgba(0,0,0,0);
	text-decoration: none;
	color: #FFF;
}

/*--------------------------------------------------------------
Columns
--------------------------------------------------------------*/

.columns {
	display: block;
}

.column-half {
	display: inline-block;
	width: 48%;
	vertical-align: top;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}

.column-half.first {
	margin: 0 1% 0 0;
	padding-right: 10px;
}

.column-half.second {
	margin: 0 0 0 1%;
	border-left: 1px solid #004586;
	padding-left: 10px;
	padding-top: 0;
}

/*--------------------------------------------------------------
Home Button
--------------------------------------------------------------*/

.homebutton {
	background-color: rgba(00, 69, 134, .5);
	color: #fff;
	display: inline-block;
	padding-left: 8px;
	padding-right: 8px;
	border-radius: 50%;
	cursor:pointer;
	height: 60px;
	font-size: 48px;
	box-shadow: 0 0 12px #999;
}

.homebutton a {
	margin-bottom: 10px;
	text-decoration: none;
	color: #FFF;
}

/*--------------------------------------------------------------
Category Page
--------------------------------------------------------------*/

.catpage {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.catarea {
	display: inline-block;
}

.cattilearea {
	position: relative;
	float: right;
	width: 50%;
	margin-left: auto;
}

.cattext {
	position: relative;
	float: left;
	width: 50%;
	margin-right: auto;
}

.cattile {
	display: block;
	position: relative;
	width: 75%;
	margin: 0px auto 25px auto;
}

.cattile.caption {
	display: block;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background-color: rgba(00, 69, 134, .5);
	color: #BBB;
	text-align: left;
	text-indent: 10px;
	height: 35px;
	width: 100%;
	overflow: hidden;
	padding-top: 5px;
	margin-bottom: 8px;
}

.cattile.caption a {
	text-decoration: none;
	color: #FFF;
}

/*--------------------------------------------------------------
Product Page
--------------------------------------------------------------*/

.prodpage {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.prodarea {
	display: inline-block;
}

.prodtile {
	width: 300px;
	float: right;
	padding-left: 25px;
	padding-bottom: 25px;
}

/*--------------------------------------------------------------
Contact Button
--------------------------------------------------------------*/
@keyframes bounceInUp {
	0% {
		opacity: 1;
		transform: translateY(500px);
	}
	10% {
		opacity: 1;
		transform: translateY(500px);
	}
	15% {
		opacity: 1;
		transform: translateY(-5px);
	}
	20% {
		opacity: 1;
		transform: translateY(3px);
	}
	25% {
		opacity: 1;
		transform: translateY(0px);
	}
	70% {
		opacity: .8;
	}
	100% {
		opacity: .8;
	}
}


.contactbut {
	display: none;
	position: fixed;
	right: 15px;
	bottom: 15px;
	background-color: #004586;
	box-shadow: 10px 20px 30px #BBB;
	color: #FFF;
	float: bottom;
	border-radius: 4px;
	padding: 0px 10px 0px;
	opacity: .8;
	animation-duration: 10s;
	animation-name: bounceInUp;
}
.contactbut:hover {
	cursor: pointer;
}
.contactbut:active {
	right: 15px;
	bottom: 12px;
	box-shadow: 10px 10px 15px #BBB;
}

/*--------------------------------------------------------------
Screenflow
--------------------------------------------------------------*/

@media screen and (min-width: 800px){
	.main-navigation {
		display: inline-block !important;
	}
	.menu-toggle {
		display: none;
	}
	#masthead {
		border-bottom: 1px solid #EEE;
	}
	.logo {
		text-align: right;
		left: 0;
	}
	.contactbut {
		display: block!important;
	}
}

@media only screen and (max-width: 767px) {

	.column-half {
		width: 100% !important;
		margin: 0 0 1em 0 !important;
	}
	.column-half.second {
		border-left: 0;
		padding-top: 10px;
	}
	.slide .img.caption {
		height: 20px;
		font-size: 80%;
		padding-top: 0px;
	}
	.cattile.caption {
		height: 20px;
		font-size: 80%;
		padding-top: 0px;
	}
}

/*--------------------------------------------------------------
Contact Form
--------------------------------------------------------------*/
fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid #c0c0c0
}
#target fieldset {
  border: 1px solid #ccc;
  min-height: 220px;
  padding: 5px;
  padding-bottom: 50px;
}


.component {
  cursor: pointer;
}

input {
  cursor: pointer;
}

textarea {
  resize: vertical;
}
.popover {
  z-index: 9999;
}
.popover .control-group {
  cursor: default;
}
.popover input {
  cursor: text;
}

.temp{
  width: 100%;
  height: 100%;
  background: transparent;
  position: absolute;
  z-index: 999999;
  top: 0;
  overflow-x: hidden;
  left: 0;
}

.temp form {
  padding: 8px 4px;
  border: 1px dotted #ccc;
  position: absolute;
  background: white;
  box-shadow: 0px 0px 30px #999;
  -webkit-transition: -webkit-transform 0.1s ease-out;
  overflow: hidden;
}

#render{
  min-height: 500px;
  font-family: monospace;
}

/* Popovers now are appended to their parent rather
than to the body/main document as they once were.
We need to over-ride some inherited stuff.. */
form .popover .controls {
  margin-left: 0;
}

form .popover .control-label {
  text-align: left;
}

form .popover form {
  width: 300px;
}

.popover-content form .btn{
  /* margin-right: 10px */
}

.target:after{
  float:left;
  content: " ";
  height: 77px;
  margin-top: 3px;
  background: #f0f0f0;
  width: 100%;
  border: 1px dashed #ccc;
}

#target, #input, #radioscheckboxes, #select, #buttons {
 -webkit-touch-callout: none;
 -webkit-user-select: none;
 -khtml-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 user-select: none;
}

#target fieldset{
 width: 100%;
 overflow: hidden;
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold
}

input[type="search"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

input[type="radio"],input[type="checkbox"] {
    margin: 4px 0 0;
    margin-top: 1px \9;
    line-height: normal
}

input[type="file"] {
    display: block
}

select[multiple],select[size] {
    height: auto
}

select optgroup {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit
}

input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px
}

input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button {
    height: auto
}

.form-control:-moz-placeholder {
    color: #999
}

.form-control::-moz-placeholder {
    color: #999
}

.form-control:-ms-input-placeholder {
    color: #999
}

.form-control::-webkit-input-placeholder {
    color: #999
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)
}

.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee
}

textarea.form-control {
    height: auto
}

.form-group {
    margin-bottom: 15px
}
.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline {
    padding-top: 7px;
    margin-top: 0;
    margin-bottom: 0
}

