/****** HOMEPAGE ******/

/**video blurb image size**/
.vide_pb_blurb_position_left .et_pb_main_blurb_image { 
  width: 90px !important;
}

.et_pb_image_container {
	margin: 0px;
}

/** To show  email modules one line **/
@media (min-width: 767px) {
	/*set the width of the input fields minus the width of the button*/
	.et_pb_newsletter_fields .et_pb_newsletter_field {
		flex-basis: calc(100% - 130px) !important;
	}
	/*set the width of the button*/
	.et_pb_newsletter_fields .et_pb_newsletter_button_wrap {
		flex-basis: 130px !important;
	}
}


/**align the heading and lines brown **/

.pa-heading-line-right h4 {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	text-align: center;
}


/**add and adjust the lines**/

.pa-heading-line-right h4:before {
	content: '';
	border-top: 2px solid;
	margin: 0 20px 0 0;
	flex: 1 0 2px;
	color: #b8c958;
}

/**add spacing between heading and line **/

.pa-heading-line-right h4:before {
	margin: 0 20px 0 0px;
}


/**align the heading and lines white **/

.pa-heading-line-left h4 {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	text-align: center;
}


/**add and adjust the lines**/

.pa-heading-line-left h4:before {
	content: '';
	border-top: 1px solid;
	margin: 0 20px 0 0;
	flex: 1 0 1px;
	color: rgba(255,255,255,0.69);
}


/**add spacing between heading and line**/

.pa-heading-line-left h4:before {
	margin: 0 20px 0 0px;
}

/**special row 2nd column border redius**/

.rcorners1 {
  border-radius: 10px;
}


/**porfolio image aspect ratio square 1:1**/

.pa-portfolio-image-1-1 .et_portfolio_image {
  padding-top: 100%;
  display: block;
}

.pa-portfolio-image-1-1 .et_portfolio_image img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/***** SLIDER 1 CSS By Divi Awesome *****/

/** Slider Dot Navigation **/

.slider-1 .et-pb-controllers a {
    background-color: #ffffff00 !important;
    border-radius: 50px;
    margin-right: 10px;
    padding: 4px;
    border: 4px solid #ffffff;
    transition: all .4s ease;
}

.slider-1 .et-pb-controllers a:hover {
    transition: all .4s ease;
	transform: scale(1.2);
}

.slider-1 a.et-pb-active-control {
    padding: 0 !important;
    border: 8px solid #fff !important;
	transition: all .4s ease;
}

.slider-1 a.et-pb-active-control:hover {
    transform: scale(1.2);
    transition: all .4s ease;
}

/** Slider Arrow Navigation **/

.slider-1 .et-pb-arrow-prev:before {
    content: "\44";
    background: #FFF;
    border-radius: 30px;
    color: #000000;
    padding: 4px 5px 4px 4px;
    font-size: 30px;
}

.slider-1 .et-pb-arrow-prev {
    transition: all .4s ease;
}
.slider-1 .et-pb-arrow-prev:hover {
    transform: scale(1.2);
    transition: all .4s ease;
}

.slider-1 .et-pb-arrow-next:before {
    content: "\45";
    background: #FFF;
    border-radius: 30px;
    color: #000000;
    padding: 4px 5px 4px 4px;
    font-size: 30px;
}

.slider-1 .et-pb-arrow-next {
    transition: all .4s ease;
}
.slider-1 .et-pb-arrow-next:hover {
    transform: scale(1.2);
    transition: all .4s ease;
}

/** Text Animation **/
.slider-1 .et_pb_slide_content h5{
	animation-duration: .7s !important;
    animation-delay: 1.4s !important;
	animation-timing-function: ease-in-out;
    animation-fill-mode: both;
	animation-name: fadeBottom;
}

.slider-1 .et_pb_slide_content p{
	animation-duration: .7s !important;
    animation-delay: 2s !important;
	animation-timing-function: ease-in-out;
    animation-fill-mode: both;
	animation-name: fadeBottom;
}
.slider-1 .et_pb_slide_content h4{
	animation-duration: .7s !important;
    animation-delay: 2.7s !important;
	animation-timing-function: ease-in-out;
    animation-fill-mode: both;
	animation-name: fadeBottom;
}

.slider-1 .et_pb_button_wrapper{
	animation-duration: .7s !important;
    animation-delay: 3.4s !important;
	animation-timing-function: ease-in-out;
    animation-fill-mode: both;
	animation-name: fadeBottom;
}


/***** Custom Video Popup *****/
/** Popup Close Icon Tweak **/
.mfp-wrap.mfp-close-btn-in.mfp-auto-cursor.mfp-fade.mfp-ready {
	top: 0px !important;
	position: fixed !important;
}
.mfp-iframe-holder .mfp-content {
    max-width: 70%;
}
.mfp-iframe-scaler button.mfp-close {
    top: -50px ;
}

.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close,
.mfp-wrap .mfp-close:active {
    top: -50px !important;
}

.video_popup_lightbox .mfp-iframe-holder .mfp-close {
    top: -50px;
}

.video_popup {
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.video_popup a:before {
    content: 'play';
    cursor: pointer;
    position: absolute;
    top: calc(50% - 55px);
    left: calc(50% - 54.5px);
    z-index: 20;
    background-color: #a47355;
    padding: 55px 27px;
    border-radius: 50%;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.video_popup a:after {
    content: 'E';
    cursor: pointer;
    font-family: 'ETmodules';
    position: absolute;
    top: calc(50% - 55px);
    left: calc(50% - 47px);
    z-index: 20;
    background-color: #a47355;
    padding: 55px 27px;
    border-radius: 50%;
    font-size: 40px;
    text-transform: uppercase;
    color: #FFFFFF;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.video_popup.no_icon:before,
.video_popup.no_icon:after {
    display: none!important;
}



.video_popup:hover a:before {
    opacity: 0;
    padding: 65px 37px;
    left: calc(50% - 64.5px);
    top: calc(50% - 65px);
}

.video_popup:hover a:after {
    opacity: 1;
    padding: 65px 37px;
    left: calc(50% - 64.5px);
    top: calc(50% - 65px);
    font-size: 56.5px;
}

@media all and (max-width: 980px) {
    .video_popup a:before {
        top: calc(50% - 32.5px);
        left: calc(50% - 33px);
        padding: 33px 17px;
        font-size: 10px;
    }
    .video_popup a:after {
        top: calc(50% - 32.5px);
        left: calc(50% - 33px);
        padding: 33px 17px;
        font-size: 32px;
    }
    .video_popup:hover a:before {
        opacity: 0;
        padding: 40px 22px;
        left: calc(50% - 43px);
        top: calc(50% - 42.5px);
    }
    .video_popup:hover a:after {
        opacity: 1;
        padding: 40px 22px;
        left: calc(50% - 43px);
        top: calc(50% - 42.5px);
        font-size: 42px;
    }
}
