/*
 Theme Name: Rainer Martini
 Author:   ITCC     
 Author URI:   http://www.itconsultingcompany.com.au/
*/

@import url('../fonts/PTSans/stylesheet.css');
@import url('../fonts/Oswald Regular/stylesheet.css');
html, body {
	overflow-x: hidden;
}
body {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'pt_sansregular';
	background-color: #fff;
	color: #535353;
	font-size: 16px;
}
.no-padding {
	padding-left: 0;
	padding-right: 0;
}
img {
	max-width: 100%;
	vertical-align: middle;
	height: auto;
}
a:hover, a:focus {
	color: #508bdb;
	text-decoration: none;
}
*:focus {
	outline: 0;
}
.clear {
	clear: both;
}
div.wpcf7-validation-errors {
	border: 2px solid #f00;
	margin: 0em 0.5em 1em;
	background: #f00;
	color: #fff;
}
div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14;
	background: #398f14;
	color: #fff;
}
.center-block {
	display: block;
	margin-right: auto;
	margin-left: auto;
	float: none;
}
::selection {
	background: #508bdb;
	color: #fff;
}
.call {
    float: left;
    height: 60px;
    position: fixed;
    right: -155px;
    top: 50%;
	transform: translateY(-50%);
    transition: all 0.4s ease-in;
    /* width: 240px; */
    z-index: 99;
}
.call:hover {
	right: 0px;
	transition: all 0.4s ease-in;
}
.alignright, .alignleft, .aligncenter {
    margin-bottom: 10px !important;
}

/*=========== HEADER ===============*/

.header_top {
    margin: 15px 0;
}
.second_logo {
    border-right: 1px solid #dbdbdb;
    text-align: right;
    padding: 0 15px 0 0;
}
.sec_logo_tect {
    font-size: 25px;
    text-align: center;
    margin: 20px auto;
    color: #010101;
}
.logo-display {
    margin: 20px 0;
}
.header_bottom {
	background-color: #508BDB;
}
.phone_number {
    float: right;
}
.phone_number i {
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 26px;
    margin: 9px 5px;
	border: 2px solid #fff;
    color: #fff;
}
.phone_number a {
	font-size: 30px;
	color: #fff;
}
.phone_number a:hover {
	color: #000;
}
/* MENU */


.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: transparent;
}
.main_menu {
	background-color: transparent;
	border: none;
	margin: 0;
	float: left;
}
.main-menu-ul ul {
	float: right;
	list-style: none outside none;
	padding-left: 0;
	margin: 0;
}
.main-menu-ul ul li {
	float: left;
	display: block;
	position: relative;
}
.main-menu-ul ul li:after {
    content: "|";
    display: inline-block;
    padding: 0 5px;
	color: #fff;
}
.main-menu-ul ul li:last-child:after {
	display: none;
}
.main-menu-ul > ul > li > a {
	    color: #ffffff;
    font-size: 18px;
    padding: 5px 11px;
    text-transform: capitalize;
    display: inline-block;
    position: relative;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    margin: 10px 0;
}
.main-menu-ul > ul > li > a:hover, .main-menu-ul > ul > li > a:focus, .main-menu-ul > ul > li > a:hover, .main-menu-ul > ul > li > a:focus, .main-menu-ul > ul > li.current_page_item>a, .main-menu-ul>ul>li.current-menu-parent>a {
	background-color: #fff;
	color: #508BDB;
}
.main-menu-ul > ul li ul {
	background-color: #1e1e1e;
	text-align: center;
	border-top: 3px solid #2b2b2b;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	z-index: 1;
	min-width: 165px;
	padding: 5px 0;
	margin: 0px;
}
.dropdown-menu li:hover .sub-menu {
	visibility: visible;
}
.main-menu-ul ul li:hover ul {
	opacity: 1;
	visibility: visible;
}
.main-menu-ul ul li:hover ul li ul {
	opacity: 0;
	visibility: hidden;
}
.main-menu-ul ul li ul li:hover ul {
	opacity: 1;
	z-index: 1;
	visibility: visible;
}
.main-menu-ul ul li ul ul {
	right: 100%;
	top: 0;
	margin: 0;
}
.main-menu-ul ul li ul li {
	margin-left: 0;
	width: 100%;
}
.main-menu-ul ul li ul > li > a {
	color: #ffffff;
	font-size: 15px;
	text-transform: capitalize;
	clear: both;
	display: block;
	padding: 3px 10px;
	white-space: nowrap;
	transition: all 0.5s ease-in-out 0s;
	text-align: left;
}
/*=========== Footer ===============*/

.new_footer {
	background: url("../images/about-1.png") fixed;
	background-size: cover;
	/*padding: 4em 0em 0em;*/
	clear: both;
	width: 100%;
	overflow: hidden;
	position: relative;
	z-index: 9;
}
.new_footer::after {
	background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}
.facebook-hover:hover {
	background-color: #3b5998;
	color: #fff;
}
.twitter-hover:hover {
	background-color: #48c4d2;
	color: #fff;
}
.googleplus-hover:hover {
	background-color: #d94a39;
	color: #fff;
}
.linkedin-hover:hover {
	background-color: #71b2d0;
	color: #fff;
}
.footer-menu ul.menu {
	padding: 0;
	margin: 0;
	list-style: none;
}
.footer-menu ul.menu li {
	display: inline-block;
}
.foo_menu {
	text-align: center;
    margin: 25px 0;
}
.footer-menu ul.menu li a {
	color: #cfe9f8;
    font-size: 17px;
}
.footer-menu ul.menu li a:hover {
    color: #fff;
}
.footer-menu ul.menu li a:after {
	color: #cfe9f8;
	content: "|";
	padding: 0 10px;
}
.footer-menu ul.menu li:last-child a:after {
	display:none;
}
.social_icon {
	    text-align: center;
    border-top: 1px dashed #5d717d;
    border-bottom: 1px dashed #5d717d;
    padding: 20px 0;
}
.social_icon ul {
	padding: 0;
	margin: 0;
}
.social_icon ul li {
	list-style: none;
	display: inline-block;
	margin: 0 5px;
}
.social_icon a {
	font-size: 24px;
	color: #fff;
}
.social_icon ul li a .fa {
	/*border-radius: 50%;*/
	display: table-cell;
	height: 40px;
	text-align: center;
	width: 40px;
	vertical-align: middle;
	font-weight: bold;
	background-color: #508bdb;
	border: 1px solid #cfe9f8;
	transition: all 0.5s ease-in-out;
}
.social_icon ul li a .fa:hover {
    background: #fff;
    color: #508bdb;
	transition: all 0.5s ease-in-out;
}
.footer_bottom {
    background: #000;
    padding: 20px 0;
}
.signature {
	text-align: center;
	font-size: 15px;
	color: #fff;
}
.signature a{
	color: #fff;
}


/*=========== Blog Section ===============*/ 

.home-blog {
	margin: 0px 0 4em;
}
.hm-blog-section {
	text-align: left;
}
.blog-ttl1 {
	margin: 10px auto;
}
.blog-ttl1 a {
	color: #d80027;
	font-size: 25px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.d1 {
	border-bottom: 2px solid #d80027;
	margin: 30px 0 20px;
	text-align: right;
}
.readmore {
	margin: 10px auto;
}
.readmore a {
	display: inline-block;
	color: #3a3a3a;
	border: 1px solid;
	border-radius: 50px;
	padding: 10px 30px;
	font-size: 20px;
	background: #fff;
	transition: all ease-in 0.4s;
}
.readmore a:hover {
	border: 1px solid #000;
	background: #000;
	transition: all ease-in 0.4s;
	color: #fff;
}
.d1:after {
	background-color: #F5F5F5;
	content: "";
	display: block;
	height: 2px;
	margin: 10px 0 -2px;
	width: 70px;
}
.date {
	font-size: 25px;
	color: #d80027;
}
.date1 {
	color: #000;
	text-align: right;
}
.archive.date {
	font-size: 15px;
	color: #3a3a3a;
}
.month {
	text-align: right;
	font-size: 14px;
}
.comment-sect {
	text-align: right;
}
.comment-count {
	font-weight: bold;
	margin: 5px 0;
}
/* inner-blog page */
.blog_portion {
	margin: 0 0 10px;
	border-bottom: 1px dotted #dcdcdc;
	padding: 0 0 10px;
}
.blog_portion:last-child {
	border: 0;
}
.sidebar_blog {
	background: #eee;
	padding: 0 15px 15px;
	text-align: left;
}
.sidebar_blog h4 {
	padding: 10px;
	margin: 0 -15px 15px;
	background: #000;
	color: #fff;
}
.sidebar_blog ul {
	padding-left: 15px;
	margin: 0 0 15px;
}
.sidebar_blog ul li {
	padding: 3px 0;
}
.sidebar_blog ul li a {
	color: #3a3a3a;
}
.sidebar_blog ul li a:hover {
	color: #d80027;
}
.sidebar_blog select {
	width: 100%;
	background: #fff;
	padding: 5px 10px;
	margin: 0 0 15px;
}
.blog-img {
	float: left;
	width: 100%;
	margin: 0 auto 15px;
	text-align: center;
}
.blog-ttl {
	font-size: 20px;
	color: #000;
	padding: 0 0 5px;
	display: block;
}
.blog-mainpage .readmore a {
	padding: 5px 20px;
	font-size: 14px;
}
.blog-mainpage .d1 {
	margin: 5px 0;
}

/* ============  Home page ============= */

/* WELCOME SECTION */

.welcome-sect,.help-sect {
    margin: 60px 0;
}
.home_ttl {
    color: #508bdb;
    font-size: 44px;
    margin: 0 0 15px;
}
.title-border {
	border: 1px solid #508bdb;
    margin-bottom: 25px;
    width: 80px;
}
.middle_image {
    width: 90%;
}
.middle_image img {
    /*outline: 2px solid #fff;*/ 
    outline-offset: -30px;
}
.read-more {
    color: #2f2f2f;
    border: 2px solid #2f2f2f;
    font-size: 22px;
    padding: 5px 20px;
	    overflow: hidden;
	position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	display: inline-block;
}
.read-more:after,.text-field-btn:after{
	content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	width: 100%;
    height: 0;
    top: 50%;
    left: 50%;
    background: #508bdb;
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.read-more:hover:after,.text-field-btn:hover:after {
    height: 260%;
    opacity: 1;
}
.read-more:hover {
	color: #fff;
}


/* SECOND SECTION */

.home_middle_content {
	background: url(../images/mid_sec.jpg) no-repeat fixed;
    padding: 50px 0;
    background-size: cover;
    position: relative;
    z-index: 9;
    font-size: 36px;
	color:#fff;
	text-align:center;
}
.home_middle_content::after {
	background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}
.sect-ttl, .sect-border {
    color: #444;
}
.sect-border {
	margin: 0 auto 25px;
}

/* HELP SECTION */

.help-sect .panel-group {
    margin: 0 -5px 20px;
}
.help-sect .panel-group .panel {
    display: table;
    width: 100%;
    height: 100px;
    background: #508bdb;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    color: #fff;
	outline: 2px solid #fff;
    outline-offset: -10px;
	transition: all ease-in 0.4s;
}
.help-sect .panel-group .panel:hover {
    outline-color: #508bdb;
    background: #000;
    transition: all ease-in 0.4s;
}
.help-sect .panel-group .panel-body {
    display: table-cell;
    vertical-align: middle;
    font-size: 22px;
	padding: 20px;
}

/* TESTIMONIAL SECTION */

.testimonial_bg {
	background: rgba(0, 0, 0, 0) url("../images/testi.jpg") repeat scroll 0 0 / cover;
	padding: 30px 0;
	position: relative;
	z-index: 9;
}
.testimonial_bg::after {
	background: rgba(0, 0, 0, 0.86) none repeat scroll 0 0;
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}
.testimonial_bg h2 {
    color: #fff;
    font-size: 44px;
	margin:0 0 15px;
}
.border-white{
	border-color: #fff;
}
.carousel .item .owl-item p {
    color: #fff;
    font-style: italic;
    /* font-size: 11px; */
    line-height: normal;
    width: 70%;
    margin: 0 auto 0px;
}
.t1, .t2 {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}
.t1 {
    margin: 0 10px 0 0;
}
.info h5 {
    color: #fff;
    font-size: 18px;
    margin: 0 0;
	text-transform: uppercase;
}
.info span {
    color: #508bdb;
    font-size: 14px;
}
.item .testi-con {
    margin: 20px 0 30px;
}

/* CONTACT SECTION */

.contact-sect {
    margin: 50px 0;
}
.text-field{
	margin:0 0 10px;
}
.wpcf7-text,.wpcf7-tel, textarea {
	width: 100%;
	background-color: #fdfdfd;
	border: 1px solid #939393;
	padding: 10px;
	display: block;
	border-radius: 2px;
	box-shadow: none;
	color: #626262;
	height: 42px;
}
textarea {
	height: 80px;
	resize:none;
}
.text-field-btn {
    overflow: hidden;
    position: relative;
	display: inline-block;
}
.wpcf7-submit {
	width: 100%;
	display: block;
	height: auto;
	background: #3c3c3c;
	color: #fff;
	font-size: 24px;
	border: 0;
	border-radius: 3px;
	padding: 5px 25px;
	transition: all ease-in 0.4s;
	    overflow: hidden;
	position: relative;
}
.wpcf7-submit:hover{
	background: #508bdb;
	transition: all ease-in 0.4s;
}
.add_ttl {
    color: #7f7f7f;
    font-size: 18px;
    margin: 0 0 5px;
    font-weight: bold;
}
.address {
    color: #7f7f7f;
    border-bottom: 1px dashed #5d717d;
    padding: 0 0 7px;
    margin: 0 0 7px;
}
.address .fa, .address_phone .fa {
    display: inline-block;
    width: 40px;
    font-size: 18px;
    color: #508bdb;
    vertical-align: top;
    text-align: center;
    margin: 5px 0 0;
}
.a-block {
    display: inline-block;
    vertical-align: top;
}
.phone, .phone a {
    /*font-size: 18px;*/
    color: #7f7f7f;
	word-break: break-all;
}

/* ============  Inner page ============= */

.inner-content {
	margin: 50px 0;
}
.inner-content .home_ttl {
    color: #000000;
}
.inner-content .title-border {
    margin: 0 auto 40px;
}
.inr-bnr {
    display: none;
}
.top_img, .top_img:focus {
	background-color: #508bdb;
	bottom: 2em;
	color: #fff;
	float: right;
	font-size: 23px;
	padding: 6px 11px;
	position: fixed;
	right: 2em;
	z-index: 99;
}
.top_img:hover{
	    background-color: hsla(215, 66%, 59%, 0.55);
}
.call-action {
    background: #508bdb;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 24px;
	clear: both;
}
.call-action a {
    color: #fff;
    font-size: 32px;
}

/* ============  Contact page ============= */

.contact-page .address,.contact-page .address_phone {
    text-align: center;
    border: 0;
    background: #eee;
    padding: 15px;
    height: 130px;
    display: table;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 100%;
	    border: 2px solid #fff;
}
.contact-page .a-block {
    display: table-cell;
    vertical-align: middle;
}
.contact-page .phone {
    font-size: 18px;
    color: #7f7f7f;
    word-break: break-all;
    display: inline-block;
    margin: 0 10px;
}
.contact-page .address .fa, .contact-page .address_phone .fa {
    width: auto;
    margin-right: 10px;
}
.contact-page .col-md-3 {
    display: table;
}