/*
==================================================
Theme Name: WP NET
Theme URI: https://wpnet.nz
Description: WP NET
Template: uplift
Version: 1.0
Author: WP NET
Author URI: wpnet.nz
==================================================
*/

/* --------------------------------------------
	CHILD THEME CSS
-------------------------------------------- */

/* font awesome fixes */
.fa, .fas {
    font-weight: 900!important;
}
i.fa-tachometer:before {
    content: "\f3fd";
}
i.fa-sliders:before {
    content: "\f1de";
}
i.fa-support:before {
    content: "\f1cd";
}

/* promo bar fix (Uplift 1.3.80 bug?) */
.promo-bar-fix .sf-promo-bar p {
  margin-top: 0;
}
/* message box fix (Uplift bug?) */
.alert .messagebox_text p:last-child {
    margin-bottom: 10px;
}
.alert .messagebox_text:before {
    line-height: 63px;
}
/*----------  header  ----------*/
body #top-bar {
  border-bottom-width: 1px;
}

a.jobs {
    background-color: #6DC8DE;
    padding: 3px 6px 4px;
    border-radius: 4px;
    color: #fff !important;
    text-transform: uppercase;
}
a.jobs:hover {
    background-color: #25ADCE;
}

/* logo */
body .header-wrap #logo.has-img img {
	max-width: 100%;
    /*height: 38px;*/
    padding-left:0;
}

/*----------  sidebars  ----------*/
.sidebar h3.spb-heading {
	font-size: 1.35em;
}

/*----------  navigation  ----------*/
#main-navigation ul > li > a {
	text-transform: uppercase;
	font-weight: 300;
}
#header li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
  white-space: nowrap;
}
body nav.std-menu ul.sub-menu, ul.mega-sub-menu {
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}
@media only screen and (min-width: 1800px) {
	body #mega-menu-wrap-main_navigation #mega-menu-main_navigation > li.mega-menu-megamenu > ul.mega-sub-menu {
	    min-width: 600px;
	}
}
/* fix resize header submenu alignment issue */
nav.std-menu ul.sub-menu, ul.mega-sub-menu {
	top: inherit;
	margin-top: -2px;
}

/* breadcrumbs */
.single-post #breadcrumbs {
  display: none;
}

/*----------  pages  ----------*/
/* 404 page */
.error404 .page-heading {
  display: none;
}

/*----------  blog and page tweaks  ----------*/
/* lists in standard text content */
body .content-wrap ul {
	margin-left: 1em;
	list-style: disc;
}

body .content-wrap ol,
body .content-wrap ul {
	padding-left: 40px;
}

/* home page icon layout */
.big-icon .sf-icon {
    font-size: 450% !important;
}

 /* homepage latest blog posts (mini) */
.home-page-latest-posts .mini-items .blog-item h3 {
    font-weight: 400;
}
.home-page-latest-posts .mini-items .blog-item {
  padding-top:0;
}
/*----------  faq tweaks  ----------*/
.faq-item {
  margin-bottom: 15px;
}
.faq-item h5 {
	font-size:18px;
  padding: 15px;
  font-weight: bold;
}

/* hide the "like" post elements */
.post-details .comments-likes {
	display: none;
}

/*----------  typography tweaks  ----------*/
.spb_text_column ul,
.box-content-wrap ul,
#comments-list .comment-body ul {
  list-style: disc outside none;
  margin-left:1.6em;
}
body .small-text ol,
body .small-text ul,
body .small-text p,
body p.small-text {
	font-size: 0.85em;
}

/*----------  image tweaks  ----------*/
img.border {
	border:1px solid #ddd;
}

/*----------  gravity forms  ----------*/
body .gform_wrapper .gsection .gfield_label,
body .gform_wrapper h2.gsection_title {
  font-weight: 300;
  font-size: 24px;
}
body .gform_wrapper h3.gform_title {
	font-weight: 300;
	font-size: 20px;
}

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=file]),
body .ginput_container textarea,
body .ginput_container select {
	color: #666;
}

body .gform_wrapper .gform_body input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=file]),
body .gform_wrapper .gform_body textarea {
  border: 2px solid #dedede !important;
  border-radius: 4px;
  padding-left:12px;
  resize: vertical;
}

/* labels */
body .gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label,
body .gform_wrapper .field_sublabel_above .ginput_container label,
body .gform_wrapper .field_sublabel_above .ginput_container label,
body .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
body .gform_wrapper .field_sublabel_below .ginput_container label,
body .gform_wrapper .field_sublabel_below .ginput_container label {
    font-size: 1em;
}

/* descriptions */
body .gform_wrapper .gfield_description,
body .gform_wrapper .gsection_description { font-size: 1em; }

/* time field tweaks */
body .gform_wrapper .gfield_time_minute {
  margin-right: 1.8rem;
}
/* time fields for migration request form */
body .gform_wrapper #input_9_21.gfield_time_hour {
  margin-right: 15px;
}
body .gform_wrapper .gfield_time_hour input#input_9_21_1[type=number],
body .gform_wrapper .gfield_time_minute input#input_9_21_2[type=number] {
  width: calc(3rem + 25px)!important;
}
body .gform_wrapper .gfield_time_hour i {
  display: none;
}

/* validation and error messages */
body .gform_wrapper .gfield_description.validation_message {
  padding-top: 0;
}
body .gfield_description.validation_message,
body .gform_wrapper .gfield_error .gfield_label,
body .gform_wrapper li.gfield_error div.ginput_complex.ginput_container label,
body .gform_wrapper li.gfield_error ul.gfield_checkbox,
body .gform_wrapper li.gfield_error ul.gfield_radio {
	color:#F5825E;
}

body .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper li.gfield_error select,
body .gform_wrapper li.gfield_error textarea {
  background-color: #FFF4F4 !important;
  border: 2px solid #F5825E !important;
}

body .gform_wrapper li.gfield.gfield_error {
  margin-top: 0;
  margin-bottom: 0;
  background-color: transparent;
  border-top: none;
  border-bottom: none;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
	margin-top: 9px;
}

/* submit button */
.gform_wrapper input[type=submit] {
	background: #25ADCE;
	opacity: 1;
}

/* My WP NET Login form ID 6 */

/* login modal */
/*.mega-sub-menu:focus-within {
  opacity: 1;
  display: block;
}*/

#gform_6 .validation_message {
  display: none;
}

/* Radio button customisation */
.gform_wrapper .gfield .ginput_container_radio ul.gfield_radio li {
  padding: 10px !important;
  margin-right:2px !important;
  border: 1px solid #eee ;
  background-color: #f9f9f9 ;
  border-radius: 3px;
  line-height: 1.3;
}
/*----------  icon boxes  ----------*/
.sf-icon-box {
    padding: 10px;
}
.spb_icon_box .sf-icon-box .sf-icon {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transition: all 0.8s ease-out;
  transition: all 0.8s ease-out;
}

.spb_icon_box .sf-animation.sf-icon-box:hover .sf-icon {
  -webkit-transform: perspective(1500px) rotateX(0deg) rotateY(360deg) rotateZ(0deg) scale(1);
  transform: perspective(1500px) rotateX(0deg) rotateY(360deg) rotateZ(0deg) scale(1);
  -webkit-transition: all .8s ease-in-out;
  transition: all .8s ease-in-out;
}

/*----------  testimonials  ----------*/
body .masonry-items li.testimonial .testimonial-text {
  background: #fff;
}

body .masonry-items li.testimonial .testimonial-text p {
  font-size: 14px;
  line-height: 1.5em;
}
body .masonry-items li.testimonial.has-cite .testimonial-text::after {
  border-top-color: #fff;
}

/*----------  promo bar  ----------*/
body .sf-promo-bar.text-size-standard a.sf-button {
  margin-top: 6px;
}

/*----------  expanding row tweak ----------*/
.spb-row-expand-text.row-open::after {
    position: absolute;
    right: 1%;
    top: 30%;
}
.spb-row-expanding {
	margin-bottom: 0;
 }

/* hotfix for IE and Edge layout issues on Cloud Server page */
.spb-row[data-col-v-pos="center"]>.spb_content_element {
  top: auto;
  transform: none;
}
