/*
Theme Name:  MediaZest
Theme URI:   https://www.MediaZest.com/
Version:     1.0
Description: A theme created for our site Mad4Digital.
Author:      M4D
Author URI:  https://www.mad4digital.com/
Template:    Divi
*/


/***********************************************************************
Caution: do not remove this to keep Divi Children Engine always updated
Divi Children Engine version: 1.0.4
***********************************************************************/

/*------------------------------[FONT ICONS]-----------------------------*/
/*--[Created by Divi Children, http://divi4u.com/divi-children-plugin/]--*/
/*-----------------------------------------------------------------------*/


/*- YOU CAN INCLUDE THE CUSTOM CODE FOR YOUR CHILD THEME BELOW THIS LINE-*/

body {
   font-weight: 400;
}
strong {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}
#top-menu li.menu-item a {
  font-weight: 500;
}
#top-menu li li a {
  font-size: 14px;
  padding: 5px 10px;
}
header.et-fixed-header #top-menu li a {
  font-size: 14px;
}
.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li:before, blockquote {
  border-color: #f37300
}
.mobile_menu_bar:before {
  color: #f37300
}
.nbp h3{
  padding-bottom: 0;
}
.single-post .et_pb_post a {
  color: #f37300;
}
.page-template-default .et_pb_blog_0 .et_pb_post .more-link {
  color: #f37300;
}

/* Orange Banner Theme */
.block-header_orange h1 {
   font-size: 24px;
   font-weight: 600;
   letter-spacing: 0.1em;
   text-transform: uppercase;
}
.block-header_orange h2 {
   font-size: 18px;
   letter-spacing: 0.05em;
   line-height: 2em;
}
.block-type_orange h3 {
   font-size: 20px;
   letter-spacing: 0.05em;
   line-height: 2em;
   color: #f37300;
}
.block-type_orange h2 {
   font-size: 20px;
   letter-spacing: 0.05em;
   line-height: 2em;
   color: #f37300;
   text-transform: uppercase;
}
.block-case_link {
   position: relative;
}
.block-case_link a {
   display: block;
}
.block-case_link a:hover:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: block;
  opacity: 0.5;
  text-align: center;
}
.block-case_link a img {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.block-case_link a:hover img {
  opacity: 0.5;
}


#footer-bottom .container {
     text-align: center;
}
.footer-widget {
     font-weight: 400;
  }
  .footer-widget p {
     font-weight: 400;
     line-height: 1.85em;
  }
.block-about-us h2 {
   letter-spacing: 0.1em;
   color: #f37300;
   font-size: 24px;
   font-weight: 600;
}

.block-heading-theme h2 {
   font-size: 30px;
   font-weight: 600;
 }
.block-heading-theme h2 strong {
   color: #f37300;
   font-weight: 600;
}

/* List Columns */
.block-list-two-columns ul {
   padding: 0;
   list-style: none;
 }
 .block-list-two-columns ul li {
 font-size: 16px;
   color: #3a4851;
   line-height: 2.5em;
   letter-spacing: 0.1em;
}
.block-list-two-columns ul li:before {
   background-image: url(http://www.mediazest.com/wp-content/uploads/2017/05/tick.png);
   background-repeat: no-repeat;
   height: 25px;
   width: 25px;
   content: '';
   display: inline-block;
   vertical-align: middle;
   margin-right: 15px;
}
.block-list_simple ul {
  margin-top: 30px;
}

.quote > p:first-child {
    background: url(http://www.mediazest.com/wp-content/uploads/2017/05/quote.png);
    background-repeat: no-repeat;
}

.play-button-outer {
   margin: 0 auto;
   width: 70px;
   height: 70px;
   background-color: rgb(243, 115, 0);
   cursor: pointer;
   border-radius: 50%;
 }
 .play-button {
     margin: 0 auto;
     top: 30%;
     position: relative;
     width: 0;
     height: 0;
     border-style: solid;
     border-width: 1em 0 1em 1.5em;
     border-color: transparent transparent transparent #fff;
     text-indent: -9999px;
 }
 .play-button-outer:hover {
   background-color: rgba(0, 0, 0, .5);
 }

 .play-button-outer:hover .play-button {
   opacity: 1;
 }

.btn-theme_orange a {
   display: inline-block;
   text-transform: uppercase;
   letter-spacing: 0.1em;
   font-weight: 400;
   font-size: 20px;
   padding: 20px 45px;
   background: #f37300;
   color: #ffffff;
}
.btn-theme_orange a:hover {
   background: #d06302;
}
.block-services-col {
	min-height: 300px;
	padding: 30px;
	cursor: pointer;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.block-services-col:hover {
	opacity: 0.5;
}
.block-services-col:after {
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 50%,rgba(0,0,0,0) 51%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%,rgba(0,0,0,0) 51%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 0;
}
.block-services-col .et_pb_text a {
	color: #ffffff;
}
.block-services-col .et_pb_text {
    height: 100%;
    position: relative;
    z-index: 1;
}
.block-services-col .et_pb_text p {
    width: 100%;
    position: absolute;
    border-top: 1px solid #ffffff;
    padding-top: 30px;
}
.block-services-col .et_pb_text .et_pb_text_inner {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}
.lity-youtube .lity-container {
   max-width: 1600px !important;
}
.lity {
   z-index: 99999 !important;
}

 /* Solutions */
.block-card .et_pb_main_blurb_image {
   margin-bottom: 0;
}
.block-card .et_pb_main_blurb_image img {
   display: block;
}
.block-card .et_pb_blurb_container {
   padding: 30px 20px;
}
.block-card .et_pb_blurb_container h4 {
   padding-bottom: 30px;
   letter-spacing: 0.1em;
}
.block-card .et_pb_blurb_container p {
   font-weight: 400;
   letter-spacing: 0.05em;
}
.block-card.no-spacing .et_pb_blurb_container p {
   letter-spacing: 0;
}

 /* Services */

.block-services_img img {
    margin-bottom: -40px;
}

.et_pb_text #gallery-1 img {
    border: 0;
}

.single-post .form-submit .et_pb_button {
  color: #ffffff;
}

/* About */
.about-video .et_pb_text {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.about-video:hover .et_pb_text {
  background: rgba(255,255,255,0.5);
}
.about-video .et_pb_text a {
  height: 100%;
  display: block;
  line-height: 50;
  text-align: center;
}

/* Team */
.block-awards .et_pb_blurb_position_left .et_pb_main_blurb_image {
  width: 60px;
}

.footer-social a {
  border: 1px solid #afafaf;
}
ul.footer-social {
  margin-top: 20px;
}
.footer-social li a.icon::before {
  color: #afafaf;
}
.footer-social li a.icon:hover::before {
  color: #929292;
}
#footer-widgets .footer-widget .footer-social li {
  padding-left: 0;
}
#footer-widgets .footer-widget .footer-social li:before {
  content: none;
}

.footer-cred {
  background-image:url('http://www.mediazest.com/wp-content/uploads/2017/05/URS.png');
  width: 132px;
  height: 75px;
  margin: 0 auto 20px;
}

/* Insta */

.instagram-follow {
  visibility: hidden;
}

.instagram-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}
.instagram-caption a {
  color: #ffffff;
}
.instagram-caption a span {
  color: #f37300;
  font-weight: 600;
}

@media all and (max-width: 600px) and (orientation:landscape) 
{
      #rop {
    margin-bottom: 60%;
}
}

@media only screen and ( min-width: 768px ) {
    p {
      letter-spacing: 0.05em;
    }

  /* List Columns */
   .block-list-two-columns .et_pb_text_inner {
     -ms-box-orient: horizontal;
     display: -webkit-box;
     display: -moz-box;
     display: -ms-flexbox;
     display: -moz-flex;
     display: -webkit-flex;
     display: flex;
  }
  .block-list-two-columns ul:first-child {
     flex-grow: 0.5;
  }
  .block-heading-theme h2 {
     text-align: center;
   }
  .block-card .et_pb_blurb_container {
     padding: 40px 60px;
  }

}

@media only screen and ( max-width: 980px ) {
  p {
    font-size: 14px;
  }
  .et_pb_text ul li {
    font-size: 14px;
  }
  .block-full-height_xs {
  	border-bottom: 1px solid #ddd;
  }
  .block-full-height_xs:last-child {
    border-bottom: none;
  }
}

@media only screen and ( min-width: 981px ) {

  .et_pb_text ul li {
    font-size: 16px;
    line-height: 2em;
  }

  .block-number-bg {
    font-size: 250px;
    color: #f8f8f8;
    font-weight: 500;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 0;
    margin-top: -35px;
   }

  .block-number-bg_content {
	position: relative;
    z-index: 1;
  }

 .block-counters .et_pb_column {
   border-right: 3px solid #ffffff;
  }
 .block-counters .et_pb_column:last-child {
   border-right: 0;
 }

 /* Services with Min Height */
 .block-services-col {
   min-height: 600px;
   padding: 50px 75px;
  }
  .block-services-col .et_pb_text p {
    bottom: 0;
  }
 .block-list-two-columns ul li {
   letter-spacing: 0.05em;
 }

 .br-right {
   border-right: 1px solid #e5e4e1;
 }

  .block-awards .et_pb_blurb_position_left .et_pb_main_blurb_image {
    width: 100px;
  }

  .et_pb_row.bg-line {
  	overflow: visible;
  }
  .bg-line:before {
    content: '';
    width: 100%;
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: #ddd;
    height: 400px;
    top: 60px;
    left: 60px;
    border-radius: 25px;
  }
  .bg-line:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #3a4851;
    position: absolute;
    top: 60%;
    visibility: visible;
    right: -79px;
  }


}


@media only screen and ( min-width: 1070px ) {
.block-list-two-columns ul li {
  letter-spacing: 0.1em;
}
}

@media only screen and ( min-width: 981px ) and ( max-width: 1120px ) {
  #top-menu li.menu-item {
    padding-right: 15px;
    font-size: 14px;
  }
  #top-menu li.menu-item a {
      font-size: 14px;
  }
}


.ds-blog-square .et_pb_post {
    position: relative;
    padding-bottom: 0;
    border: none;
}

@media only screen and ( min-width: 981px) {
    /*Two columns*/
    .ds-blog-two-column.et_pb_column_4_4 .et_pb_blog_grid[data-columns]::before {
        content: '2 .column.size-1of2' !important;
    }
    .ds-blog-square-two.et_pb_blog_grid .column.size-1of3 {
        width: 47.25% !important;
        margin-right: 5.5%;
    }
    /*This removes the right margin from the last post on each row*/
    .ds-blog-square-two.et_pb_blog_grid .column.size-1of3:nth-child(even) {
        margin-right: 0;
    }
}

body #por .block-services-col::after {
 background: none !important;
}
