/*
Theme Name: Business One Page SIWOK
Template: business-one-page
*/

/* --- child theme styles: --- */

#masthead { border-bottom: 1px solid #d9dbde; padding-bottom: 0; }
#mobile-header-primary { float: right; }

a:link,
a:visited,
a:hover,
a:active {
    color: #ff0000;
}

.site-branding { float: none; text-align: center; }
.header-right { float: none; text-align: center;}

.header-right .site-title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
	display: none;
}
.header-right .site-title a {
    color: #EE0000;
}
.header-right .site-title a:hover {
    text-decoration: none;
}
.header-right .site-description {
    margin: 9px 0;
    font-size: 16px;
    line-height: 20px;
    color: #111111;
    letter-spacing: 0.03em;
}

.main-navigation {
    flex-basis: auto;
	flex-grow: 0;
}

.main-navigation ul li {
    padding-bottom: 9px;
}

.main-navigation ul li a, .main-navigation ul li > a {
    border-bottom: 1px solid transparent;
}
.main-navigation ul li a:hover, .main-navigation ul li:hover > a {
    padding: 0 0 0 0;
}

.main-navigation ul ul,
.main-navigation ul ul li {
	padding: 0;
}

.site-footer {
    background: #CCD3E4;
    padding: 0;
    color: #222222;
}

.site-footer a:link,
.site-footer a:visited,
.site-footer a:active {
    color: #222222;
}
.site-footer a:hover {
    color: #ee0000;
}

.site-footer .footer-t {
    border-bottom: 0 none;
    padding-bottom: 0;
}

.banner  {
    margin-top: 175px;
	border-top: 0 none;
}

.site-content {
    margin-top: 135px;
	border-top: 0 none;
}

.featured-image {
	margin-top: 135px;
	height: 600px;
	max-height: calc(50vh);
}

.scrolldown {
    position: absolute;
	width: 100%;
	bottom: 1%;
	left: 0;
    text-align: center;
	text-shadow: 3px 3px 8px #000000;
}
.scrolldown a, .scrolldown a:link, .scrolldown a:visited, .scrolldown a:active  {
    color: #ffffff;
	display: block;
	text-decoration: none;
}
.scrolldown a:hover  {
    color: #ee0000;
	display: block;
	text-decoration: none;
}

#mapcontainer { position: relative; background: #F3F2F2 url('images/loading.gif') no-repeat center center; }
#mapcontainer iframe { width: 100%;  height: 100%; }
.page-scroll-reserve {position: absolute; z-index: 10; top: 15%; right: 1%; height: 55%; width: 7%; background: rgba(0,0,0,0.1); border-radius: 9px;}

.button,
.button-large {
	background: #ee0000;
	color: #ffffff !important;
	display:inline-block;
	margin: 9px auto;
	padding: 5px 25px;
	appearance: none !important;
	cursor: pointer;
	border-radius: 7px;
	font-size: 18px;
	font-weight: bold;
	border: 3px solid #ee0000;
	text-decoration: none !important;
}
.button:hover,
.button-large:hover {
	background: #ebebeb !important;
	color: #222222 !important;
	box-shadow:0 0 2px rgba(0, 0, 0, 0.6);
	text-decoration: none !important;
}
.button-large {font-size: 26px;}

.button-light {
	background: #e6e6e6;
	color: #333333;
	display:inline-block;
	margin: 9px auto;
	padding: 5px 25px;
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
	border-radius: 7px;
	font-size: 18px;
	font-weight: bold;
	border: 3px solid #333333;
}
.button-light:hover {
	background: #e6e6e6;
	color: #ee0000;
	box-shadow:0 0 2px rgba(0, 0, 0, 0.6);
	text-decoration: none;
}

#primary .post-thumbnail { display: none; }

.banner .owl-theme .owl-dots .owl-dot.active span, .banner .owl-theme .owl-dots .owl-dot:hover span {
    border-color: #ee0000;
    background: #ee0000;
}

.contact-info-lists li a {
    color: #ee0000;
}
.contact-info-lists li a:hover {
    color: #ff0000;
}

.banner-text .text .title {
	background: rgba(0,0,0,0.33); padding-right: 15px; padding-left: 15px;
}
.banner-text .text .btn-more {
	background: #ee0000;
	color: #ffffff;
	font-weight: 200;
}
.banner-text .text .btn-more:hover {
    background: #ff0000;
	color: #ffffff;
}

.promotional-block {
    background-image: none;
	background: #E7EAF3;
    color: #222222;
}

.promotional-block .btn-start {
    background: #ee0000;
	color: #ffffff;
	font-weight: 200;
	width: auto;
	text-transform: capitalize;
	font-weight: 200;
	padding-left: 12px;
	padding-right: 12px;
	line-height: 60px;
}

#portfolio .btn-view,
.blog-section .btn-holder a,
.promotional-block .btn-start,
.wpcf7-form input[type="submit"],
.content-area .post form input[type="submit"],
.content-area .page form input[type="submit"] {
    background: #ee0000;
	color: #ffffff;
	font-weight: 200;
}
#portfolio .btn-view:hover,
.blog-section .btn-holder a:hover,
.promotional-block .btn-start:hover,
.wpcf7-form input[type="submit"]:hover,
.content-area .post form input[type="submit"]:hover,
.content-area .page form input[type="submit"]:hover {
    background: #ff0000;
	color: #ffffff;
}

.blog-section .columns-3 .post .entry-meta,
.blog-section .columns-3 .post .entry-meta .posted-on,
.blog-section .columns-3 .post .entry-meta .comments-link {
	/* hides date & comments link from home page featured blog posts */
	display: none;
}

#contact p
{
	margin: 0.25em 0;
}
#contact .wpcf7-text,
#contact .wpcf7-textarea
{
	padding: 3px;
	font-size: 0.8em;
}

.wpcf7-form input[type="submit"] {
    width: auto !important;
	display: block !important;
	margin: 0 auto !important;
	padding-left: 9px !important;
	padding-right: 9px !important;
	font-weight: 200 !important;
	color: #ffffff !important;
}

.wpcf7-form textarea {
    height: auto;
    resize: both;
}
span.wpcf7-list-item {
	margin: 0;
}

input[type="checkbox"] {width: 26px; height: 26px; padding: 6px 3px; border: 1px solid #a5a5a5; border-radius: 6px; vertical-align: middle;}
.smalltextbox { padding: 3px !important; max-width: 75px !important; }

.content-area .post .entry-content .highlight {
    background: #ee0000;
}

.author-block {
	display: none;
}
.tags-block a:hover {
    color: #ee0000;
}
.comment-form input[type="submit"] {
    background: #ee0000;
}
.comment-form input[type="submit"]:hover {
    background: #ff0000;
}

.widget_calendar table a {
    background: #ee0000;
}

.blog .content-area .post .entry-content .btn-readmore,
.category .content-area .post .entry-content .btn-readmore,
.archive .content-area .post .entry-content .btn-readmore {
    background: #ee0000;
	color: #ffffff;
	font-weight: 200;
}
.blog .content-area .post .entry-content .btn-readmore:hover,
.category .content-area .post .entry-content .btn-readmore:hover,
.archive .content-area .post .entry-content .btn-readmore:hover {
    background: #ff0000;
	color: #ffffff;
}

#primary img { border-radius: 4px; }

.videowrapper {
	position: relative !important;
	padding-bottom: 56.25%; 	/* 16:9 */
	padding-top: 0;
	height: 0;
}
.videowrapper > iframe
{
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	overflow: auto !important;
}

.floatleft {float: left;}
.floatright {float: right;}
.floatleftimg {float: left; margin: 0 10px 10px 0;}
.floatrightimg {float: right; margin: 0 0 10px 10px;}
.no-wrap-text {overflow: hidden;}
.leftalign {text-align: left;}
.rightalign {text-align: right;}
.centered {text-align: center;}
.strong {font-weight: bold;}
.column-70 {width: 70%;}
.column-66 {width: 66.67%;}
.column-60 {width: 60%;}
.column-50 {width: 50%;}
.column-30 {width: 40%;}
.column-33 {width: 33.33%;}
.column-30 {width: 30%;}
.column-25 {width: 25%;}
.column-20 {width: 20%;}
.smallest {font-size: 0.75em;}
.smaller {font-size: 0.85em;}
.larger {font-size: 1.15em;}
.largest {font-size: 1.25em;}
.tight {margin: 0 !important; padding: 0 !important; min-height: 0 !important;}
.tight p {margin: 0; padding: 0;}
.tight ul {margin: 0; padding: 0;}
.tight li {margin: 0; padding: 0;}
.tight a {margin: 0; padding: 0;}
.clear {clear: both;}
.clearleft {clear: left;}
.separator {clear: both; height: 6px; min-height: 0 !important;}
.spacer {clear: both; height: 12px; min-height: 0 !important;}
.bigspacer {clear: both; height: 18px; min-height: 0 !important;}
.bigspace {clear: both; height: 36px; min-height: 0 !important;}
.spaced {margin: 5px;}
.rounded {border-radius: 5px;}
.padded {padding: 5px; box-sizing: border-box;}
.paddedpercent {padding: 5px 5%;}
.bordered {border: 1px solid #333333;}
.thickbordered { border: 2px solid #333333;}
.dashed {border: 1px dashed #333333;}
.indented {margin-left: 25px;}
.shaded {background: #E7EAF3;}
.shaded-dark {background: #f0f2f7;}

li.pdf {list-style-type: none; background: url('images/pdf_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.ppt {list-style-type: none; background: url('images/ppt_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.doc {list-style-type: none; background: url('images/doc_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.xls {list-style-type: none; background: url('images/xls_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.web {list-style-type: none; background: url('images/web_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.img {list-style-type: none; background: url('images/img_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.email {list-style-type: none; background: url('images/email_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.facebook {list-style-type: none; background: url('images/facebook_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.youtube {list-style-type: none; background: url('images/youtube_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.nobull {list-style: none; padding: 5px 0 5px 0; margin: 3px 0; margin: 3px 0;}
li.pdf a, li.ppt a, li.doc a, li.xls a, li.web a, li.img a, li.email a, li.youtube a, li.facebook a, li.nobull a {display: block;}

.flexbox {
    width: 100%;
    display: flex;
	flex: 1;
	flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}
.flexbox-item {
	display: flex; /* set the context */
	flex: 1; /* flex an equal space for the entire container */
	flex-direction: column;
	align-items: stretch; /* make content stretch the complete height */
	margin-right: 10px;
	width: 0; /* force equal-width columns */
}
.flexbox-item:last-child { margin-right: 0; }
.flexbox-cta {
	display: flex; /* set the context */
	flex: 1; /* flex an equal amount of space */
	align-items: flex-end; /* pin to bottom */
}
.flexbox-cta a {
	color: #ffffff;
	width: 100%;
	margin: 15px 0 0 0 !important;
	text-align: center;
}

@media only screen and (max-width: 430px)
{
	.featured-image {
		height: calc(30vh)
	}
	.banner-text .text .title {
		display: block;
		padding: 9px;
		font-size: 16px;
		line-height: 18px;
		margin: 0 0 9px
	}
	.banner-text .text .btn-more { line-height: 28px; padding: 5px; }
}

@media only screen and (max-width: 767px)
{
	.banner-text .text .title { display: block; }

	.floatleftimg {float: none; margin: 10px;}
	.floatrightimg {float: none; margin: 10px;}

	.column-70 {width: 100%;}
	.column-66 {width: 100%;}
	.column-60 {width: 100%;}
	.column-40 {width: 100%;}
	.column-33 {width: 100%;}
	.column-30 {width: 100%;}
	.column-25 {width: 100%;}
	.column-20 {width: 100%;}

	.flexbox { flex-direction: column; }
	.flexbox-item { width: 96%; margin: 10px 2%; }
}

@media only screen and (max-width: 991px)
{
	.site-header { position: static; }
	.banner, .featured-image, .site-content { margin-top: 0 !important; }
	.banner .owl-theme .owl-dots { bottom: 0;}

	.column-50 {width: 97%;}
	.smallscreen { display: block; }
	.notsmallscreen { display: none; }
}

@media only screen and (min-width: 992px)
{
	.site-header .container { padding: 0; }
	.site-branding { float: left; text-align: left; flex-basis: 0; flex-grow: 1; }
	.header-right { float: right; text-align: right; }
	.header-right .site-title { display: block; }
	.header-right .site-description { font-size: 20px; line-height: 27px; }
}


