/* The Nivo Slider styles */


/*----- 3.5 Slider Area -----*/
.slider-wrap {
  position: relative;
}
.slider-image {

}
.nivo-caption {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    height:100%;
    opacity:1;
}
.slide-text {
    display: table;
    width: calc(100% - 20%);
    height: 100%;
    margin-left: 10%;
}
.middle-text {
    display: table-cell;
    vertical-align: middle;
    padding-top: 12%;
    padding-bottom: 50px;
}

.icon_img {
    position: absolute;
    width: 60px;
    height: auto;
    display: block;
}

.icon_img.img_one {
    top: 20%;
    left: 50%;
    width: 70px;
}

.icon_img.img_two {
    top: 25%;
    right: 6%;
    width: 90px;
}

.icon_img.img_three {
    bottom: 30%;
    right: 50%;
    width: 70px;
}

.icon_img.img_four {
    bottom: 36%;
    left: 25px;
    /* transform: translateX(-50%); */
    width: 80px;
}

.middle-text .content_box,
.middle-text .img_box {
    position: relative;
    z-index: 1;
    width: 49%;
    display: inline-block;
    vertical-align: middle;
}

.middle-text .img_box img {
	position: relative;
	max-width: 100%;
}

.cap-title h3 {
    /*background: rgba(224, 158, 37, 0.6) none repeat scroll 0 0;*/
    color: #ffffff;
    font-size: 42px;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    /*text-transform: uppercase;*/
}

.cap-title h3 span {
    /*display: block;
    color: #c2ac7e;*/
}

.cap-heading h1 {
    /*background: rgba(255, 255, 255, 0.6) none repeat scroll 0 0;*/
    color: #ed1c24;
    font-size: 62px;
    font-weight: 600;
    margin: 15px 0px;
    text-transform: uppercase;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
}
.cap-readmore {
    /*display: inline-flex;
    overflow: hidden;*/
}
/*.cap-readmore a {
    background-color: #ffffff;
    color: #ed1c24;
    border: 1px solid #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    text-transform: uppercase;
    margin-top: 25px;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0px 4px 10px -4px rgba(0, 0, 0, 0.3);
}
.cap-readmore a:hover {
    opacity: 0.8; 
}*/
.nivo-controlNav {
    bottom: 0px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 8;
}
.nivo-control {
    background: #fff;
    display: inline-block;
    height: 10px;
    margin: 0 5px;
    text-indent: -99999px;
    width: 10px;
    border-radius: 50%;
}
.nivo-control.active {
    background: #ed1c24;
}
.slider-progress{
    position:absolute;
    top:0;
    left:0;
    background-color: #ed1c24;
    height:3px;
    -webkit-animation: timebar 5000ms ease-in-out;
    -moz-animation: timebar 5000ms ease-in-out;
    -ms-animation: timebar 5000ms ease-in-out;
    animation: timebar 5000ms ease-in-out;
    opacity:0.8;
}
@-webkit-keyframes timebar {
    from {width: 0;}
    to {width: 100%;}
}
 @keyframes timebar {
    from {width: 0;}
    to {width: 100%;}
}
 .slider-progress.pos_hover{
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
 }  

.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: 100%;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
	background:white; 
	filter:alpha(opacity=0); 
	opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:none;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	/*background:#000;*/
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px;
	/*opacity: 0.8;*/
	overflow: hidden;
	display: none;
	/*-moz-opacity: 0.8;
	filter:alpha(opacity=8);*/
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	/*display:inline !important;*/
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ed1c24;
    color: #fff !important;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bolder;
    z-index: 9;
    cursor: pointer;
}

.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

@media (min-width: 992px) and (max-width: 1199px) {

	.cap-title h1 {
	    font-size: 42px;
	    line-height: 42px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {

    .middle-text {
        padding-top: 20%;
        padding-bottom: 20px;
    }

    .cap-title h3 {
        font-size: 32px;
    }

    .cap-heading h1 {
        font-size: 46px;
        line-height: 42px;
        margin: 10px 0px;
    }

    /*.btn_containerOne {
        width: 120px;
        height: 40px;
        font-size: 14px;
        line-height: 20px;
        margin-top: 15px;
    }

    .mas,
    .btn_containerOne a {
        padding: 9px;
    }*/

}

@media (max-width: 767px) {

    .nivoSlider {
        position: relative;
        width: 100%;
        height: 420px !important;
        overflow: hidden;
    }

    .nivoSlider img.nivo-main-image {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .slide-text {
        width: calc(100% - 50px);
        margin-left: 25px;
    }


    .middle-text {
        padding-top: 115px;
        padding-bottom: 30px;
    }

    .middle-text .img_box {
        text-align: center;
    }

    .middle-text .img_box img {
        position: relative;
        max-width: 260px;
    }

    .cap-title h3 {
        font-size: 32px;
    }

    .cap-heading h1 {
        font-size: 46px;
        line-height: 42px;
        margin: 10px 0px;
    }

    .btn_containerOne {
        /*width: 120px;
        height: 40px;
        font-size: 14px;
        line-height: 20px;*/
        margin-top: 15px;
    }

    .btn_containerOne span.mas {
        line-height: inherit !important;
    }

    .nivo-directionNav a {
        width: 30px;
        top: 55%;
    }

	/*.slide-text {
	    margin-left: 8%;
        width: 220px;
	}

	.cap-title {
	    padding-bottom: 10px;
	    margin-bottom: 15px;
	}

	.cap-title h1, .cap-title h1>span {
	    font-size: 28px!important;
	    line-height: 28px!important;
	}

	.cap-dec{
	    margin-bottom: 20px;
	}

	.cap-dec h2 {
	    font-size: 16px;
	}

	.cap-readmore a {
	    font-size: 12px;
	    padding: 4px 12px;
	}*/

}


@media (max-width: 575px) {

    .nivoSlider {
        height: 450px !important;
    }

    .slide-text {
        width: calc(100% - 40px);
        margin-left: 20px;
    }

    .middle-text .content_box, .middle-text .img_box {
        width: 100%;
        text-align: center;
    }

    .middle-text {
        padding-top: 90px;
        /*padding-bottom: 30px;*/
    }

    .middle-text .img_box img {
        position: relative;
        max-width: 150px;
    }

    .cap-title h3 {
        font-size: 26px;
    }

    .cap-heading h1 {
        font-size: 36px;
        line-height: 30px;
    }

    .nivo-controlNav {
        display: none;
    }

    .icon_img.img_one {
        left: 50%;
        width: 26px;
    }

    .icon_img.img_two,
    .icon_img.img_four {
        width: 44px;
    }
    .icon_img.img_three {
        bottom: 18%;
        right: 8%;
        width: 37px;
    }


}