.sponsored-width{
	max-width: 100%;
}
/* The ribbon */

.ribbon {
	display: none;
	padding: 0.9em 1.3em;
	margin-top: 1.3em;
	position:absolute;
	left: 75%;
	z-index: 1;
	color: #ffffff;
	font: .8em 'Patua One', sans-serif;
	text-align: center;
	letter-spacing:0.1em;
	text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 1px 0px rgba(255,255,255,.3),
	inset 0px 0px 20px rgba(0,0,0,0.1),
	0px 1px 1px rgba(0,0,0,0.4);
	background: #313333;
}
.div-sm-city-ribbon{
	padding: 1em 1.3em;
	color: #ffffff;
	font: 14.8px 'Patua One', sans-serif;
	letter-spacing:0.1em;
	text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
	background: #313333;
	display: inline-block;
	overflow: hidden;
}
.div-sm-city-logo {
	margin-right: 5px;
	position: relative;
	z-index: 1;
	background: #ffff;
}
.ribbon-2 {
	margin-top: 1.18em;
	position: absolute;
	left: 92%;
	z-index: 1;
	background: #ffff;
}
/*==============*/
.logo-img{
	width: 40px;
	height: 40px;
}
.carousel-caption {
	right: 62px !important;
	top: 195px !important;
	left: 84% !important;
}
.shaped{
	width:100%;
	background-image: url("../images/default_banner.jpg");
	/*background-size: cover;*/
	background-repeat: no-repeat;
	background-position: center;
	shape-outside: polygon(80% 0, 100% 0, 100% 100%, 50% 100%);
	background-position-x: 470px;
}
.blank-shape{
	height:17.31rem;
	float:right;
	width:100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	shape-outside: polygon(82% 0%, 100% 0%, 100% 100%, 69% 100%);
	-webkit-shape-margin: 0px !important;
}
.content{
	color: black;
	font-size:12px;
	font-family: 'Nunito', sans-serif;
	-webkit-shape-outside: polygon(94% 0%, 68% 100%, 0% 100%, 0% 0%);
	shape-outside: polygon(94% 0%, 68% 100%, 0% 100%, 0% 0%);
}
.bg-color{
	background-color: #386ab5;
	z-index: 1;
	color: white;
	/*clip-path: polygon(83% 0%, 68% 100%, 0% 100%, 0% 0%);*/
	shape-outside: polygon(83% 0%, 68% 100%, 0% 100%, 0% 0%);
}
.div-sm-city-color{
	background: #313333;
	padding: 0.3em 1.3em;
	color: #ffffff;
	text-align: center;
	font: 16px 'Patua One', sans-serif;
}
.bg-img{
	background-image: url("<?php echo base_url().'assets/images/2.jpg'?>");
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100%;
}
.bg-color-white{
	background-color: #ffff;
	color: #b9b4b4;
	height: 45px;
}
.jobs-padding{
	display: inline-block;
	font-size: 20px;
	width: 330px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0.35em 0.5em;
}
.jobs-padding b{
	color: #313333;
}
.jobs-slogan{
	vertical-align: middle;
	font-size: 14px;
	padding-left: 12.5rem;
	color: #313333;
}
.name{
	color: #313333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.align-sub{
	vertical-align: sub !important;
}
.content-text{
	font-size: .8em;
	padding: 6px 1em 6px 3em;
}
.content-text span{
	font-size: 16px;
	line-height: 1.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; /* number of lines to show */
	-webkit-box-orient: vertical;
}
.learn-more-btn{
	background-color: #313333;
	color: #ffff;
	font-size: 1.8em;
	margin-right: 1em;
	margin-bottom: 0.5em;
}
.button-width{
	min-width: 22em !important;
	display: inline-block;
}
.youtube-btn-sm{
	display: inline;
	background-color: #dc3545;
	color: #ffff;
	font-size: 1.8em;
	font-weight: 700!important;
	padding: .25rem 1rem;
	margin-bottom: 0.5em;
}
.modal-dialog {
	max-width: 800px;
	margin: 30px auto;
}
.modal-body {
	position:relative;
	padding:0px;
}
.close {
	position:absolute;
	right:0px;
	top:-32px;
	z-index:1;
	font-size:2rem;
	font-weight: normal;
	color:#fff;
	opacity:1;
}
.modal-backdrop {
	z-index: 1 !important;
}
.learn-more-btn:hover{
	background-color: #313333;
	color: #ffff;
}

@media only screen and (min-width: 1700px)  {
	.shaped{
		background-size: cover;
		background-position-x: 330px;
    	background-position-y: -130px;
	}
}



@media only screen and (min-width: 1550px) and (max-width: 1699px)  {
	.shaped{
		background-position-x: 680px;
	}
}


@media only screen and (min-width: 1450px) and (max-width: 1549px) {
	.shaped{
		background-position-x: 630px;
	}
}


/*Large devices (landscape phones, 1375px and up)*/

@media only screen and (min-width: 1350px) and (max-width: 1449px) {
	.shaped{
		background-position-x: 550px;
	}
}

@media only screen and (min-width: 1250px) { 
	.jobs-padding{
		width: 50%;
	}
}
/*Large devices (landscape phones, 1250px and min)*/

@media only screen and (max-width: 1250px) {
	.ribbon-2{
		display: block;
		margin-top: 1.19em;
		left: 91%;
	}
	.content{
		-webkit-shape-outside: polygon(0 0, 100% 0, 100% 100%, 0 100%);
		shape-outside: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
	.bg-color{
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}

	.logo-img {
		width: 40px;
		height: 40px;
	}
	.div-sm-city{
		display: inline !important;
	}
	.div-sm-city .content-ribbon:before {
		display: none;
	}
	.blank-shape{
		display: none;
	}
}

/*Medium devices (tablets, 765px and min)*/

@media only screen and (max-width: 765px) {
	.ribbon-2{
		display: block !important;
		margin-top: 1.2em;
		left: 93%;
	}
	.bg-color-white{
		display: flex;
		height: auto;
	}
}
/*Medium devices (desktops, 655px and min)*/

@media only screen and (max-width: 655px) {
	.div-sm-city-ribbon{
		display: block !important;
		text-align: center;
	}
	.bg-color-white {
		display: block;
		/*height: 85px !important;*/
	}
	.jobs-padding{
		margin: 7px 0px 0px;
		padding: 0px !important;
		width: 100%;
		text-align: center;
	}
	.ribbon-2{
		display: none !important;
	}
}


/*@media only screen and (max-width: 500px) */

@media only screen and (max-width: 500px) {

	.jobs-slogan{
		padding: 0px !important;
	}
}


@media only screen and (max-width: 895px) {
	.ribbon-2{
		display: none !important;
	}
}
