/*

Theme Name: X &ndash; WebZio
Theme URI: http://theme.co/x/
Author: WebZio
Author URI: http://webzio.com/
Description: Make all of your modifications to X in this child WebZio theme.
Version: 1.0.0
Template: x

*/
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
header.masthead-inline .desktop .x-nav {
  overflow: visible !important;
}
.x-topbar .yellow {
  color: #ff8d1d;
}
.x-topbar .red {
  color: #f7564c;
}
.x-topbar .green {
  color: #00c94a;
}
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
	padding-left: 12px!important;
	padding-right: 12px!important;
}
.x-navbar .desktop .x-nav > li ul {
  background-color: transparent !important;
  top: 38px !important;
  left: auto !important;
  right: -25px !important;
  margin: 0 auto !important;
}
.x-navbar .desktop .sub-menu li::before, .x-navbar .desktop .sub-menu li::after {
  background-color: transparent !important;
}
.x-navbar .desktop .x-nav li > a > span::after {
  content: "" !important;
}
#home-row1-col2 #home-row-col-2-m-img {
	display: none;
}
.desktop .sub-menu li > a {
  background-color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  text-align: left;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
li.menu-item-has-children:hover{
  border-bottom: 0 !important;
}
ul.menu-main-menu li.menu-item-has-children >ul:hover + ul.menu-main-menu li.menu-item-has-children a {
  border-bottom: 0 !important;
  color: #0A9F64 !important;
}
ul.menu-main-menu li.menu-item-has-children >ul:hover + ul.menu-main-menu li.menu-item-has-children a > span{
  border-bottom: 0 !important;
  color: #0A9F64 !important;
  display: none !important;
}
li.menu-item-has-children a:hover span{
   color: #0A9F64 !important;
   border-bottom: 0 !important;
}
li.menu-item-has-children a span{
   border-bottom: 0 !important;
}
ul.sub-menu li a:hover{
  color: #0A9F64 !important;
}
.red-txt {
  color: #ee534e;
  font-size: 21px;
  line-height: 27px;
  margin-bottom: 7px;
}
.green-txt {
  color: #0a9f64;
  font-size: 21px;
  line-height: 27px;
  margin-bottom: 7px;
}
/* .home-row3 .x-column.x-sm.vc.x-1-3 {
  margin-right: 9px !important;
} */
.home-row3-inner {
  font-size: 18px;
  line-height: 19px;
}
#home-row3-head.red {
  color: #ed4843;
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 35px;
  margin-top: 20px;
}
#home-row3-head.green {
  color: #0A9F64;
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 35px;
  margin-top: 20px;
}
.home-row6 .entry-featured {
  border: 0 none;
  margin-top: 0 !important;
  padding: 0 ;
}
.home-row6 article.x-portfolio {
  float: left;
  padding: 0 !important;
  width: 50% !important;
}
.home-row6 article.x-portfolio .entry-featured,
.home-row6 article.x-portfolio .entry-featured:hover{
  background: none;
  opacity: 1;
}

/*home-row6 article.x-portfolio .entry-featured:hover img{
  transition: all 1s ease-out;
  transform: scale(1.2);
}*/

.home-row6 article.x-portfolio .entry-thumb,
.home-row6 article.x-portfolio .entry-thumb:hover{
  background: none;
  opacity:1;
}
.home-row6 article.x-portfolio .entry-thumb img,
.home-row6 article.x-portfolio .entry-thumb img:hover{
  opacity: 1;

}

/*.home-row6 #portfolio-posts{
  display:none;
}
.home-row6 .x-btn{
  display: none !important;
}*/

#portfolio-posts-advanced{
  margin-left:120px;
}

#portfolio-posts-advanced .start{
  border-radius: 68px;
  width:136px ;
  position: absolute;
  height: 340px;
  bottom: 43px;
  left: 18px;
  background: -webkit-linear-gradient(#EC3D51, #F96647);
  background: linear-gradient(#EC3D51, #F96647);
}

#portfolio-posts-advanced .end{
  border-radius: 68px;
  width:136px ;
  position: absolute;
  height: 340px;
  bottom: 42px;
  right: 26px;
  background: -webkit-linear-gradient(#12AA6A, #43E68A);
  background: linear-gradient(#12AA6A, #43E68A);
  z-index:1;
}
#portfolio-posts-advanced .end .link-wrapper{
  display: table;
  bottom:18px;
  left:18px;
  position:absolute;
}

#portfolio-posts-advanced .end .link{
  border:2px solid white;
  width:100px;
  height:100px;
  color:white;
  display: table-cell;
  border-radius: 50px;
  line-height: 25px;
  font-weight: 600;
  vertical-align: middle;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
}

#portfolio-posts-advanced .end .link:hover{
  border:2px solid #12AA6A;
  color: #12AA6A;
  background: white;
}

.portfolio-link-mobile{
  display: none;
}

#portfolio-posts-advanced .portfolio-advanced-post{
  width: 14%;
  margin-right: 9%;
  float: left;
  z-index: 2;
  position: relative;

}

#portfolio-posts-advanced .portfolio-advanced-post .post-entry-featured{
  overflow: hidden;
  border-radius: 68px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  width: 136px;
  margin-left: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;

}

#portfolio-posts-advanced .portfolio-advanced-post .post-entry-thumb {
  position: relative;
  display: block;
  height: 425px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#portfolio-posts-advanced .portfolio-advanced-post .post-entry-thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 714px;
    height: 476px;
    margin-top: -238px; /* Half the height */
    margin-left: -357px; /* Half the width */
    max-width: inherit;
}

/*cover*/
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-transition-delay: 0.25s;
            transition-delay: 0.25s;
}
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover .entry-cover-content h2 {
    background: rgba(236,59,80,1);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(236,59,80,1)), color-stop(100%, rgba(255,162,68,1)));
    background: -webkit-linear-gradient(left, rgba(236,59,80,1) 0%, rgba(255,162,68,1) 100%);
    background: linear-gradient(to right, rgba(236,59,80,1) 0%, rgba(255,162,68,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec3b50', endColorstr='#ffa244', GradientType=1 );
    padding: 20px 40px;
    text-align: left;
    line-height: 26px;
    margin: 0;
}
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover .entry-cover-content h2 a {
    font-size: 24px;
    line-height: 26px;
    color: #ffffff;
    letter-spacing: -0.025em;
}
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover .entry-cover-content .preview-description {
    font-size: 18px;
    line-height: 26px;
    padding: 20px;
    color: #ffffff;
    text-align: left;
}
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover .entry-cover-content .learn-more-button {
    text-align: left;
    padding-left: 20px;
    position: absolute;
    bottom: 30px;
}
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover .entry-cover-content .learn-more-button a {
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 7px 22px;
    font-size: 22px;
    border-radius: 100px;
    text-transform: uppercase;
}
#portfolio-posts-advanced .portfolio-advanced-post .entry-cover .entry-cover-content .learn-more-button a:hover{
  color: #456462;
}


/*hovered*/
#portfolio-posts-advanced .portfolio-advanced-post.hover {
    z-index: 100;
}

#portfolio-posts-advanced .portfolio-advanced-post.hover .post-entry-featured {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
    width: 425px;
    margin-left: -145px;
}

#portfolio-posts-advanced .portfolio-advanced-post.hover .entry-cover {
    opacity: 1;
}
#portfolio-posts-advanced .portfolio-advanced-post.hover .entry-cover .entry-cover-content {
    display: block;
    opacity: 1;
}

#portfolio-posts-advanced .portfolio-advanced-post.hover .post-entry-thumb {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
}


/*.home-row6 .learn-more-button a {
  font-size: 13px;
}
.home-row6 .page-template-template-layout-portfolio .entry-cover-content h2 a {
  color: #ffffff;
  font-size: 15px;
  line-height: 18px;
}
.home-row6 .page-template-template-layout-portfolio .entry-cover-content h2 {
  padding: 10px;
  line-height: 10px;
}
.home-row6 .learn-more-button {
  padding-left: 10px;
}
.home-row6 .page-template-template-layout-portfolio .entry-cover-content .preview-description {
  font-size: 15px;
  line-height: 21px;
  padding: 10px;
}*/

.home-row6 .page-template-template-layout-portfolio .entry-thumb::before {
  content: "" !important;
  height: 0px !important;
  width: 0px !important;
  display: none !important;
}
.x-content-band .x-btn-pill.x-btn-regular {
	line-height: 2.1!important;
	padding: 5px 1.1em 2px !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
/* .home-row6 .page-template-template-layout-portfolio .entry-cover-content h2 {
  background: transparent none repeat scroll 0 0 !important;
} */
.home-row6 a.button {
  border: 1px solid #0a9f64;
  color: #0a9f64;
  font-weight: bold;
  left: 0;
  line-height: 21px;
  margin: 0 auto !important;
  padding: 10px 20px;
  right: 0;
  text-align: center;
}
.home-row6 a.button:hover {
  background: rgba(0, 0, 0, 0) -moz-linear-gradient(left center , #089d63, #43e58a) repeat scroll 0 0;
  color: #fff;
}
.port-button {
  float: left;
  margin-top: 40px;
  text-align: center;
  width: 100%;
}
.home-row6 {
  /* padding-top: 40px !important; */
  color: #0a9f64;
  font-size: 20px;
  text-align: center;
}
#home-row6-head {
  margin-bottom: 0 !important;
}
.home-row2 a:hover {
  text-decoration: underline;
}
/* .home-row1 .gform_body #gform_fields_5 li {
  line-height: 0 !important;
  margin: 0 !important;
}
.home-row1 .gform_button.button {
  margin: 20px 0 0 0 !important;
  width: 100% !important;
  transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
}
.home-row1 .gform_button.button:hover {
  background-color: rgba(255,255,255,0.9) !important;
  color: #222 !important;
  border-color: #fff !important;
}
.home-row1 .gfield_error.gfield {
  background-color: transparent !important;
  border: 0 none !important;
} */

/* Testimonials */
.home-row-testimonial-style-6 {
  padding-bottom: 29px !important;
}
.x-content-band.home-row-testimonial-style-6 {
  margin-bottom: 0;
}
.x-content-band.home-row-testimonial-style-12 {
  margin-top: 25px;
  margin-bottom: 10px;
}
.row-bottom-border {
  border-bottom: 2px dashed #aaa;
}
.gfield_description.validation_message {
  color: red !important;
  opacity: 0.9 !important;
}
.instruction.validation_message {
  opacity: 0.9 !important;
  color: red !important;
}

/* body .home-row1 .gform_wrapper input[type="text"],
body .home-row1 .gform_wrapper input[type="url"],
body .home-row1 .gform_wrapper input[type="email"],
body .home-row1 .gform_wrapper input[type="tel"],
body .home-row1 .gform_wrapper input[type="number"],
body .home-row1 .gform_wrapper input[type="password"],
body .home-row1 .gform_wrapper select,
body .home-row1 .gform_wrapper textarea {
  height: 50px !important;
  font-size: 19px !important;
} */
#gform_5 {
  margin-bottom: 0 !important;
}
.home-row1 {
  color: #fff;
  font-size: 29px;
  font-weight: bold;
  margin-bottom: 0 !important;
  padding: 40px 0 !important;
  position: relative !important;
}
.home-row2 {
  /* border-bottom: 2px dashed #aaa; */
  padding: 35px 0 15px !important;
  text-align: center;
  margin-bottom: 0 !important;
}
@media (min-width: 768px) {
  .home-row2 {
    padding: 35px 0 0 !important;
  }
}
.home-row1 #home-row1-img {
  margin-bottom: 0 !important;
  position: absolute;
  bottom: 0 !important;
  top: auto ;
  right: 0 !important;
}
.home-row1 .x-column.x-sm.vc.x-1-2:last-child {
  position: absolute;
  bottom: 0 !important;
  right: 0 !important;
}
#center-align {
  text-align: center;
  left: 0;
  margin-top: 20px;
  margin-left: 0 !important;
}
.home-row2 p{
  margin-bottom: 20px;
}
.green-txt .big {
  color: #0a9f64;
  font-size: 45px;
  font-weight: 600;
  line-height: 57px;
}
/* .home-row3 {
  border-bottom: 2px dashed #aaa;
  margin-bottom: 0 !important;
  padding: 35px 0 10px 0!important;
} */
.home-row4 {
  margin-bottom: 0 !important;
  padding: 35px 0 50px !important;
  text-align: center;
}
.home-row4 .h-custom-headline {
  color: #8e64e3;
  font-size: 38px;
  line-height: 46px;
  margin-bottom: 35px;
  margin-top: 10px;
}
.home-row4 a.button {
  border: 1px solid #0a9f64;
  color: #0a9f64;
  line-height: 20px;
  margin-top: 14px;
  padding: 11px 24px;
  text-align: center;
}
.home-row4 a.button:hover {
  background: rgba(0, 0, 0, 0) -moz-linear-gradient(left center , #089d63, #43e58a) repeat scroll 0 0;
  color: #fff;
}
.home-row6 .h-custom-headline {
  color: #0a9f64;
  font-size: 228.5%;
  line-height: 46px;
  margin: 57px 0 0 10px;
}
/* #home-row1-col1 {
  margin-left: -95px;
} */
.portfolio-advanced-post .learn-more-button {
  display: block !important;
}

/* @media screen and (max-width: 1200px){
#home-row1-col1 {
  margin-left: -20px;
}
} */
/*@media screen and (max-width: 1100px){
  .home-row6 .x-container.width{
    width:100%;
  }
}*/

@media screen and (max-width: 1024px){
#home-row1-col1 {
  margin-left: 0;
}

/* .home-row1 .gform_wrapper .gform_button.button{
  font-size:0.7em;
} */
/*.home-row6 .page-template-template-layout-portfolio .entry-cover-content .preview-description {
  font-size: 13px;
  line-height: 19px;
  padding: 10px;
}
.home-row6 .learn-more-button a {
  font-size: 10px;
}
.learn-more-button {
  bottom: 20px !important;
}*/
/* .home-row3-inner {
  min-height: 390px;
} */
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

#portfolio-posts-advanced{
  padding:0;
  width:100%;
  margin: 50px 0 0 0;
}
#portfolio-posts-advanced .start,
#portfolio-posts-advanced .end{
  display: none;
}

#portfolio-posts-advanced .portfolio-advanced-post{
  width:50%;
  margin-right: 0;
}

#portfolio-posts-advanced .portfolio-advanced-post.hover .post-entry-featured {
    margin-left: 0;
    width:100%;
}

#portfolio-posts-advanced .portfolio-advanced-post .post-entry-featured{
  overflow: hidden;
  border-radius: 0;
  -webkit-transform: none;
          transform: none;
  width: 100%;
  margin-left: 0;
  -webkit-transition: none;
  transition: none;
}
#portfolio-posts-advanced .portfolio-advanced-post .post-entry-thumb{
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transition: none;
  transition: none;
}
/*#portfolio-posts-advanced .portfolio-advanced-post:hover .entry-featured{
  margin-left:0 !important;
}*/

#portfolio-posts-advanced .portfolio-advanced-post img{
  min-width: 100%;
  -webkit-transition: opacity 0.75s ease;
  transition: opacity 0.75s ease;
  -webkit-transform: none;
          transform: none;
  height: auto !important;
  margin-left:0;
  max-width: 100%;
}

.portfolio-link-mobile{
  display:block;
  /*display:inline-block;
  overflow: hidden;
  height: 100px;
  width: 100%;*/
}

/*.portfolio-link-mobile .link{
  border:2px solid #12AA6A;
  width:100px;
  height:100px;
  color:#12AA6A;
  display: table-cell;
  border-radius: 50px;
  line-height: 25px;
  font-weight: 600;
  vertical-align: middle;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
}

.portfolio-link-mobile .link:hover{
  color: #ffffff;
  background: #12AA6A;
}*/

/*.portfolio-link-mobile a{
  color: #12AA6A;
  padding:0 20px;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
}

.portfolio-link-mobile:hover{
  background: #0a9f64;
  background: -webkit-linear-gradient(left, #089d63, #43e58a);
  background: -moz-linear-gradient(left, #089d63, #43e58a);
  background: -ms-linear-gradient(left, #089d63, #43e58a);
  background: -o-linear-gradient(left, #089d63, #43e58a);
}

.portfolio-link-mobile:hover a{
  color:#ffffff;
}*/

/*#portfolio-posts-advanced .portfolio-advanced-post:hover img{
  margin-left:0 !important;
}*/

/*
.home-row6 #portfolio-posts{
  display:block !important;
}
.home-row6 .x-btn{
  display: inline-table !important;
}*/


/* @media screen and (max-width: 980px){
  .home-row3-inner {
    min-height: 415px;
  }
} */

@media screen and (max-width: 800px) {
  #home-row3-head.red {
    font-size: 28px;
  }
  .home-row3-inner {
    min-height: 495px;
  }
}
@media screen and (max-width: 776px) {
  .home-row3-inner {
    min-height: 0 !important;
  }
  #home-row3-head {
    text-align: center;
  }
  .home-row6 article.x-portfolio {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .home-row6 #portfolio-posts-advanced article.portfolio-advanced-post {
    width: 100% !important;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 736px) {
  #x-content-band-1.home-row1.bg-image {
    background-image:url("img/home-bg.png") !important;
    background-position-y: 0;
  }
  #x-content-band-1.home-row1 .x-container.width {
  	width: 100% !important;
  }
  #home-row1-col1 {
  	margin-left: auto;
  	max-width: 90%;
  	margin-right: auto;
  }
  #home-row1-col2 #home-row-col-2-m-img {
  	display: block;
  	margin: 0;
    opacity: 0;
    height: 350px;
  }
  .home-row1 #home-row1-img {
  	bottom: -120px !important;
  }
  .home-row1 #home-row1-img {
    right: 0 !important;
    left: 0 !important;
    margin: 0 auto;
  }
  #home-row1-col2 {
  	margin-top: 25px !important;
  }
  .home-row1 .x-column.x-sm.vc.x-1-2:last-child {
  position:relative;
  bottom:auto;
  }
  .home-row1 {
    margin-bottom: 100px !important;
    padding: 40px 0 0px !important;
  }
}
@media screen and (min-width: 360px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -80px;
  }
  #home-row1-col2 #home-row-col-2-m-img {
    height:390px;
  }
}
@media screen and (min-width: 400px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -150px;
  }
  #home-row1-col2 #home-row-col-2-m-img {
    height:390px;
  }
}
@media screen and (min-width: 400px) and (orientation : portrait) {
  #home-row1-col2 #home-row-col-2-m-img {
    height:435px;
  }
}
@media screen and (min-width: 440px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -200px;
  }
  #home-row1-col2 #home-row-col-2-m-img {
    height:500px;
  }
}
@media screen and (min-width: 550px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -270px;
  }
}
@media screen and (min-width: 600px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -350px;
  }
  #home-row1-col2 #home-row-col-2-m-img {
    height:700px;
  }
}
@media screen and (min-width: 650px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -470px;
  }
}
@media screen and (min-width: 700px) {
  #x-content-band-1.home-row1.bg-image {
    background-position-y: -550px;
  }
  #home-row1-col2 #home-row-col-2-m-img {
    height:700px;
  }
}
@media screen and (min-width: 737px){
  #x-content-band-1.home-row1.bg-image {
    background-position-y: 0;
  }
}
@media screen and (max-width: 650px){
  .home-row1 .x-column.x-sm.vc.x-1-2:first-child {
    left: 0;
    margin: 0 auto;
    right: 0;
    width: 100% !important;
  }
}
@media screen and (max-width: 480px) {
  .home-row1 .x-column.x-sm.vc.x-1-2:first-child {
    width: 100% !important;
  }
  .home-row1 #home-row1-img {
  	bottom: -70px !important;
  }
  .home-row1 {
  	margin-bottom: 50px !important;
  }
  .home-row1 #home-row1-img {
  	margin: 0 auto;
  	width: 40%;
  }
  .home-row1 .x-column.x-sm.vc.x-1-2:last-child {
    bottom: -49% !important;
  }
  .home-row6 article.x-portfolio {
    padding: 0px !important;
    width: 100% !important;
  }
  .portfolio-link-mobile #center-align,
  .home-row4 #center-align {
    font-size: 16px !important;
    padding: 15px 22px !important;
  }
}
@media screen and (max-width: 375px) {
  .home-row1 .x-column.x-sm.vc.x-1-2:last-child {
    bottom: -45% !important;
  }
  .portfolio-link-mobile #center-align,
  .home-row4 #center-align {
    font-size: 14px !important;
    padding: 13px 20px !important;
  }
  /* .home-row1 .gform_wrapper .gform_button.button {
    padding:0.563em 1.125em 0.563em;
    font-size:0.8em !important;
  } */
}
@media screen and (max-width: 320px) {
  .home-row1 .x-column.x-sm.vc.x-1-2:last-child {
    bottom: -42% !important;
  }
}

/* THRIVE STYLES */
/* .thrv_wrapper.thrv-content-box.webzio-section-red > .tve-content-box-background {
  background: #f7574c;
  background: -webkit-linear-gradient(left, #ec3b4f 50%, #f97044 50%);
} */
