
/* =========================================
               Mobile menu
============================================ */
#mobile-nav-open-btn {
	font-size: 30px;
	color: #F7B733;
	cursor: pointer;
	z-index: 2;
	position: fixed;
	right: 20px;
	top: 26px;
	/* hide mobile open nav btn */
	display: none;	
}

#mobile-nav {
	/* mobile nav hidden by default */
	height: 0%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	background-color: rgba(255, 255, 255, .9);
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
	overflow-y: hidden;
}

#mobile-nav-close-btn {
	font-family: "Raleway", sans-serif;
	font-size: 60px;
	font-weight: 100;
	color: #212226;
	cursor: pointer;
	position: relative;
	left: 85%;
	-webkit-transition: .3s;
	transition: .3s;
	
}

#mobile-nav-content {
	text-align: center;
	width: 100%;
	margin-top: 30px;
	position: relative;
	top: 10%;
}

#mobile-nav ul li {
	margin-bottom: 20px;
}

#mobile-nav a {
	font-family: "Raleway", sans-serif;
	font-size: 18px;
	color: #212226;
	font-weight: 400;
	text-transform: uppercase;
	display: inline;
	-webkit-transition: .3s;
	transition: .3s;
}

#mobile-nav a:hover,
#mobile-nav a:focus,
#mobile-nav-close-btn:hover,
#mobile-nav-close-btn:focus {
	color: #F7B733;
	background: none;
}


/* =========================================
                Bootstrap Media Queries
============================================ */

/* Large Devices */
@media (min-width: 1200px) and (max-width: 1299px) {
	
	/* Navigation bar */
	.site-nav-wrapper {
		padding: 0 20px;
	}	
	
	/* Services */
	.services-tab .tab-bg {
		min-height: 484px;
	}
	
	
}

/* Medium Devices */
@media (min-width: 992px) and (max-width: 1199px) {
	
	/* Navigation bar */
	.site-nav-wrapper {
		padding: 0;
	}
	
	.navbar-brand {
		padding-left: 20px; 
	}
	
	/* Services */
	#services-tabs .services-tab {
		padding: 16px 30px;
	}
	
	.services-tab .tab-bg {
		min-height: 300px;
		padding: 33px 30px;
	}
	
	
	.services-tab p {
		line-height: 20px;
	}
	
}

/* Small Devices */
@media (min-width: 768px) and (max-width: 991px) {
	
	/* Navigation bar */
	.site-nav-wrapper {
		padding: 0;
	}
	
	.navbar-brand {
		padding-left: 20px; 
	}
	
	/* Services */
	.r-tabs-accordion-title {
		text-align: center;
		margin-bottom: 10px;
	}
	
	.r-tabs-accordion-title a {
		font-family: "Raleway", sans-serif;
		font-size: 13px;
		color: #939393;
		text-transform: uppercase;
		font-weight: 400;
		padding: 0;
		text-decoration: none;
	}
	
	.r-tabs-state-active a {
		color: #f46f4b;
		font-weight: 700;
		border-bottom: 3px solid #f46f4b;
		padding-bottom: 5px;
		-webkit-transition: border-color 300ms linear;
		transition: border-color 300ms linear;
	}
	
	
	#services-tabs .services-tab {
		padding: 16px 30px;
	}
	
	.services-tab .tab-bg {
		min-height: 100px;
		padding: 33px 30px;
	}
	
	.services-tab .tab-bg h2 {
		font-size: 24px;
		padding: 0;
		margin: 0;
		font-weight: 100;
	}
	
	.services-tab .tab-bg h3 {
		font-size: 16px;
		margin-bottom: 9px;
	}
	.services-tab p {
		line-height: 18px;
	}
	
	#services-btn a {
		color: #fff !important;
		border: 1px solid #4ABDAC;
		background-color: #4ABDAC;
	}
	
	
	/* Transform */
	.transform .text {
		margin-top: 15px;
	}
	
}


/* Extra Small Devices */
@media (max-width: 767px) {
	
	/* Navigation */
	.navbar {
		padding: 20px 0;
	}
	
	.site-nav-wrapper{
		padding: 0;
	}
	
	/* show mobile menu open button */
	#mobile-nav-open-btn {
		display: block;	
	}
	
	/* Home */
	#home-heading h1 {
		font-size: 26px;
		margin-bottom: 5px;
	}
	
	/* Services */
	.r-tabs-accordion-title {
		text-align: center;
		margin-bottom: 10px;
	}
	
	.r-tabs-accordion-title a {
		font-family: "Raleway", sans-serif;
		font-size: 13px;
		color: #939393;
		text-transform: uppercase;
		font-weight: 400;
		padding: 0;
		text-decoration: none;
	}
	
	.r-tabs-state-active a {
		color: #f46f4b;
		font-weight: 700;
		border-bottom: 3px solid #f46f4b;
		padding-bottom: 5px;
		-webkit-transition: border-color 300ms linear;
		transition: border-color 300ms linear;
	}
	
	#services-btn a {
		color: #fff !important;
		border: 1px solid #4ABDAC;
		background-color: #4ABDAC;
	}
	
	
	#services-tabs .services-tab {
		padding: 16px 30px;
	}
	
	.services-tab .tab-bg {
		min-height: 100px;
		padding: 33px 30px;
	}
	
	.services-tab .tab-bg h2 {
		font-size: 35px;
		padding: 0;
		margin: 0;
		font-weight: 100;
	}
	
	.services-tab .tab-bg h3 {
		font-size: 18px;
	}
	
	.services-tab p {
		line-height: 20px;
	}
	
	/* Statement */
	#warrior-statement h2 {
		font-size: 20px;
		line-height: 30px;
	}
	
	#warrior-statement h2 i {
		height: 5px;
	}
	
	/* Large content box */
	.content-box-lg {
		padding: 90px 0;
	}
	
	/* Medium content box */
	.content-box-md {
		padding: 80px 0;
	}
	
	/* Transform */
	.transform-bottom {
		padding: 5px 0;	
	}
	
	#transform h2 {
		font-size: 25px
	}
	
	
	/* Bio */
	
	.bio-bottom {
		margin-bottom: 10px;
    }
    
    /* Contact */
	#contacts {
        flex-direction: column;
    }
	
	
}


/***************************************** 
    This Code is For Responsive story
******************************************/

/* ============================================
                For Medium Screen
============================================== */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.story_area > ul > li:nth-child(2n+1) .story_content_wrapper::after {
        left: -31px;
    }
    .story_content_wrapper {
        height: 260px;
        display: inherit;
    }
    .story_area > ul > li:nth-child(2n+1) .story_text {
        padding-left: 0;
    }
    .story_text h3 {
        padding-top: 0;
        font-size: 12px;
    }
    .story_text {
        font-size: 12px;
    }

    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper {
        border-radius: 0 120px 120px 0 !important;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper {
        border-radius: 120px 0 0 120px !important;
    }
    .story_img {
        margin-top: 6px;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper::after {
        left: -36px;
    }
    .story_content_wrapper::after {
        border-bottom: 19px solid transparent;
        border-right: 46px solid #563341;
        bottom: 11px;
        -webkit-transform: rotate(35deg);
        transform: rotate(35deg);
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper::before {
        left: -34px;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper::before {
        right: -33px;
    }
    .single_story_wrapper:hover .story_content_wrapper::after {
        border-right: 46px solid #b00e1e;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper::after {
        border-left: 42px solid #563341;
        bottom: 9px;
        right: -35px;
        -webkit-transform: rotate(-31deg);
        transform: rotate(-31deg);
    }
    .story_area > ul > li:nth-child(2n) > .single_story_wrapper:hover .story_content_wrapper::after {
        border-left: 42px solid #b00e1e;
	}
	
}	

/* ============================================
                For Tablet layout
============================================== */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.story_area > ul > li:nth-child(2n+1) .single_story_wrapper {
        width: 43%;
    }
    .story_area > ul > li:nth-child(2n) .single_story_wrapper {
        width: 43%;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper  {
        border-radius: 0 120px 120px 0 !important;
        height: 120px;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper {
        border-radius: 120px 0 0 120px !important;
        height: 120px;
    }
    .story_text {
        font-size: 12px;
        line-height: 19px;
        padding-bottom: 0;
        padding-left: 0;
        width: calc(100% - 95px);
    }
    .story_area > ul > li:nth-child(2n) .story_text {
        float: right;
        padding-left: 10px;
        width: calc(100% - 95px);
    }
    .story_text h3 {
        font-size: 13px;
    }
    .story_img {
        display: inline-block;
        margin-top: 34px;
        padding-top: 0;
        width: calc(100% - 168px);
    }
    .story_area > ul > li:nth-child(2n) .story_img {
        display: inline-block;
        margin-top: 34px;
        padding-top: 0;
        width: calc(100% - 168px);
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper:before {
        left: -54px;
    }
    .story_content_wrapper:before {
        top: 66%;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper:before {
        right: -54px;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper:after {
        bottom: 6px;
        right: -45px;
        -webkit-transform: rotate(-16deg);
        transform: rotate(-16deg);
    }

}

/* ============================================
                For Small mobile
============================================== */
@media only screen and (max-width: 767px) {
	
	/* ____________ this code is for HOME PAGE ____________*/

	/* story area */
    
    .story_area > ul:before {
        display: none;
    }
    .story_area > ul > li {
        overflow: none;
    }
    .story_area > ul > li:nth-child(2n+1) .single_story_wrapper, .story_area > ul > li:nth-child(2n) .single_story_wrapper {
        float: none;
        width: 100%;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper, .story_area > ul > li:nth-child(2n) .story_content_wrapper {
        border-radius: 0;
    }
    .story_content_wrapper {
        margin-bottom: 60px;
        margin-top: 30px;
    }
    .story_area > ul > li .story_year {
        position: relative;
    }
    .story_text {
        float: none;
        padding-left: 0;
        width: 100%;
        text-align: center;
    }
    .story_img {
        display: inherit;
        float: none;
        display: block;
        text-align: center;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper:before, .story_area > ul > li:nth-child(2n) .story_content_wrapper:before {
        display: none;
    }
    .story_area > ul > li:nth-child(2n) .story_text {
        font-size: 12px;
        line-height: 19px;
        padding-right: 12px;
        text-align: right;
        width: 100%;
    }
    .story_area > ul > li:nth-child(2n) .story_img {
        display: inherit;
        float: none;
        vertical-align: inherit;
        display: block;
        text-align: center;
    }
    .story_area > ul > li:nth-child(2n+1) .story_img img, .story_area > ul > li:nth-child(2n) .story_img img {
        border-radius: 0;
    }
    .story_area > ul > li .story_year {
        left: 0;
    }
    .story_area {
        padding-bottom: 50px;
    }
	
}

/* ============================================
                For large mobile
============================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	.story_area > ul::before {
        display: block;
    }
    .story_area > ul > li:nth-child(2n+1) .single_story_wrapper {
        float: right;
        width: 45%;
        overflow: none;
    }
    .story_area > ul > li:nth-child(2n) .single_story_wrapper {
        float: left;
        width: 45%;
    }
    .story_area > ul > li .story_year {
        left: calc(50% - 45px);
        position: absolute;
    }
    .story_content_wrapper {
        margin-bottom: 60px;
        margin-top: 50px;
    }
    .story_text h3 {
        font-size: 13px;
    }
    .story_text {
        font-size: 12px;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper:before, .story_area > ul > li:nth-child(2n) .story_content_wrapper::before {
        display: block;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper:after {
        left: -26px;
    }
    .story_content_wrapper:after {
        border-bottom: 15px solid transparent;
        border-right: 30px solid #563341;
        bottom: 5px;
        -webkit-transform: rotate(21deg);
        transform: rotate(21deg);
    }
    .single_story_wrapper:hover .story_content_wrapper:after {
        border-right: 30px solid #b00e1e;
    }
    .story_area > ul > li:nth-child(2n+1) .story_content_wrapper:before {
        left: -31px;
    }
    .story_content_wrapper:before {
        position: absolute;
        top: 85%;
	}
	
	.story_area > ul > li:nth-child(2n) .story_content_wrapper:after {
        border-left: 30px solid #563341;
        bottom: 5px;
        right: -26px;
        -webkit-transform: rotate(-21deg);
        transform: rotate(-21deg);
    }
    .story_area > ul > li:nth-child(2n) > .single_story_wrapper:hover .story_content_wrapper:after {
        border-left: 30px solid #b00e1e;
    }
    .story_area > ul > li:nth-child(2n) .story_content_wrapper:before {
        right: -30px;
    }
    .story_area > ul > li:nth-child(2n+1) .story_img img {
        border-radius: 0 50px 50px 0 !important;
    }
    .story_area > ul > li:nth-child(2n) .story_img img {
        border-radius: 50px 0 0 50px !important;
    }
}