/*
 * Home CSS styles
 */
.graduation {
	width: 100%;
	height: 700px;
	margin-top: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.graduation h1 {
	max-width: 50%;
	color: #fff;
	margin: 0 auto;
}
.post-cont {
	border-bottom: 1px solid #e1e1e1;
	padding: 1.5em 0;
}
.post-cont:last-of-type {
	    border-bottom: transparent;
	}
.news {
	margin: 5em auto 3em;
	font-size: 14px;
	line-height: 1.6;
	color: #082952;
}
.slider-cont {
	margin: 1em auto;
}
.news div:last-child {
	border-bottom: transparent;
}
.post-image {
	width: 100%;
	height: 200px;
	background-repeat: no-repeat; 
	background-position: center;
	background-size: cover;
}
.post-info {
	padding: 0 2em;
}
.post-info h5{
	margin: 0.5em 0;
	cursor: pointer;
}
.grey-cont {
	position: relative;
	padding-bottom: 4em;
}
.grey-area {
	background-color: #f2f2f2;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 500px;
	z-index: -99;
}
.slide-img {
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:  center center;
}
.slide-text {
	min-height: 320px;
	padding: 2em 3em;
}
.slide-text h3 {
	color: #fff;
	margin-bottom: 0.5em;
}
.slide-text p {
	color: #fff;
	line-height: 30px;
	margin-bottom: 2em;
}
.slide-text span {
	padding: 14px;
	margin-left: 15px;
	width: 55px;
	height: 100%;
	background-color: #fff;
}
.slide-text .btn {
	padding: 0 0 0 15px;
	font-size: 15px;
	font-weight: 700;
}
.slide-text .btn-outline-primary {
	color: #fff;
	border-color: #fff;
}
.slide-text .btn-outline-primary:hover {
    border-color: #fff;
	background-color: rgb(0,0,0,0.2);
	color: #fff;
}
.btn-outline-primary:not(:disabled):not(.disabled):active {
	background-color: rgb(0,0,0,0.3);
	border-color: #fff;
}
.slide-text .btn-outline-primary:hover i {
	animation: slide1 0.75s ease-in-out infinite;
}
.arrows-container {
	width: 90%;
	margin: 0 auto;
	position: absolute;
	display: flex;
	justify-content: space-between;
	top:-240px;
}
.arrows-container .next-arr, .arrows-container .prev-arr {
	font-size: 28px;
	color: #fff;
	cursor: pointer;
	padding: 0.5em;
	opacity: 0.8;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}	
.arrows-container .next-arr:hover, .arrows-container .prev-arr:hover {
	opacity: 1;
}
@keyframes slide1 {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(5px, 0);
  }
}
.slick-dots {
	width: 100%;
    list-style: none;
    bottom: 0;
    text-align: center;
    padding: 0;
    margin-top: 20px;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button::before {
    font-size: 42px;
    line-height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    content: '\2022';
    text-align: center;
    color: #c8c8c8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button::before {
    color: #bb5333;
}
.subscribe-wrapper {
	width:80%;
	margin: 0 auto;
}
.subscribe {
	width: 100%;
	min-height: 300px;
	padding: 4em;
}
.subscribe h4 {
	color: #fff;
	margin-bottom: 2em;
}
.subscribe .btn-primary {
	background-color: #BB5333;
	border: 1px solid #BB5333;
	height: 46px;
	line-height: 26px;
	margin-left: 0.5em;
}
.subscribe .btn-primary:hover {
	background-color: #a43716;
	border: 1px solid #a43716;
}
.subscribe .btn-primary:focus {
	background-color: #8a2507;
	border: 1px solid #8a2507;
}
.subscribe .wpcf7-form input[type="text"],.subscribe .wpcf7-form input[type="email"] {
	width: 360px;
	padding: 0.5em 1em;
	background-color: #fff;
	border-color: transparent;
}
.subscribe .wpcf7-form input[type=text]:focus,.subscribe .wpcf7-form input[type=email]:focus {
   background-color: #fff;
   border-color: transparent;
}
.subscribe .subscribe-flex {
	display: flex;
	justify-content: center;
	margin-bottom: 1em;
}
.wpcf7-submit, .gform_button {
	background-color: #BB5333;
	border: 1px solid #BB5333;
	color: #fff;
	height: 46px;
	line-height: 26px;
}
.wpcf7-submit:hover, .gform_button:hover {
	background-color: #a43716;
	border: 1px solid #a43716;
	color: #fff;
}
.wpcf7-submit:focus, .gform_button:focus {
	background-color: #8a2507;
	border: 1px solid #8a2507;
	color: #fff;
}
.gform_button {
	padding: 0.5em 2.5em;
}
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form textarea, .gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper textarea  {
    background-color: transparent;
    box-shadow: none;
	padding: 12px;
	width: 100%;
    -webkit-box-shadow: none;
    border: none;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: medium;
    margin: 0;
    border-bottom: 2px solid #e0e0e0;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-radius: 0;
}
.wpcf7-form textarea, .gform_wrapper textarea {
    border: 2px solid #e0e0e0;
	height: 240px;
}
.wpcf7-form input[type=text]:focus, .wpcf7-form input[type=email]:focus, .gform_wrapper input[type=text]:focus, .gform_wrapper input[type=email]:focus {
   background-color: transparent;
   border-bottom: 2px solid #8a2507;
}
.wpcf7-form textarea:focus, .gform_wrapper textarea:focus {
   background-color: transparent;
   border: 2px solid #8a2507;
}
.gform_wrapper label {
	/*display: none!important;*/
}
.gform_wrapper ul li.gfield {
	margin-top: 30px!important;
}
.wpcf7-form label {
	width: 100%;
}

.socials i {
	padding: 0.25em;
	font-size: 26px;
}
footer {
	font-size: 16px;
	color: #082952;
}
footer ul {
	list-style: none;
}
footer ul li {
	display: inline;
	padding: 0 0.25em;
}
footer p {
	font-size: 12px;
	line-height: 1.4;
	margin: 0.5em 0 0 0;
}

@media (max-width: 767px) {  
	.post-info {
		padding: 2em;
	}
	.grey-cont {
		padding: 2em 0;
	}
	.graduation {
		height: 440px;
	}
	.graduation h1 {
		max-width: 90%;
	}
	.news {
		margin: 5em auto 1em;
	}
	.subscribe {
		padding: 4em 2em;
	}
	.subscribe-wrapper {
		width: 100%;
	}
	.subscribe input {
		width: 60%;
	}
	.subscribe .btn-primary {
		width: 100%;
	}	
	.post-cont {
		border-bottom: transparent;
		padding: 0;
	}
	.subscribe .subscribe-flex {
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	.subscribe .btn-primary {
		margin: 0.5em 0 0 0;
	}
	.subscribe .wpcf7-form input[type="text"], .subscribe .wpcf7-form input[type="email"] {
		width: 100%;
	}
}
@media (min-width: 992px) {  
	.slide-text {
		min-height: 460px;
	}
	.slide-img {
		height: 460px;
	}
	.slider-cont {
		margin: 5em auto 2em;
	}
	.arrows-container {
		top: -310px;
	}
}
@media screen and (min-width: 1182px) {

}
