/*
  Theme Name: Castle
  Theme URL: http://demo.themeregion.com/castle
  Author: ThemeRegion
  Author URI: http://www.themeregion.com
  Description: Castle Responsive HTML Template
  Version: 1.0
*/

/*=======================================================================
[Table of contents]
=========================================================================

1.	Typography
2.	navigation-section
3.	slider-section
4.	Features
5.	Course Description
6.	curriculum-tab
7.	Video Section
8.	Instructor
9.	Requirements
10.	Word For LearnCastel
11.	Contact Us
12. Color Chooser

==========================================================================*/


/*========================
=======Typography=========
==========================*/

body {
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	color: #454545;
	background-color: #fff;
}

ul {
	list-style: none;
	margin:0;
	padding:0;
}

.navbar-nav li a:hover, 
.navbar-nav li a:focus {
	outline:none;
	outline-offset: 0;
	text-decoration:none;  
	background: transparent;
}

a {
	color: #000;
	text-decoration: none;
	-webkit-transition: 300ms;
	-moz-transition: 300ms;
	-o-transition: 300ms;
	transition: 300ms;
}

a:focus, 
a:hover {
	text-decoration: none;
	outline: none;
}

h1 {
	font-size:36px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	font-weight:300;
	text-transform:capitalize;
}

.padding{	
	padding:100px 0 90px;
}

.section-title {
	margin-bottom: 70px;
	padding-bottom: 0;
	text-align: center;
	font-weight:400;
}

.section-title h1 {
	margin-top:0;
	margin-bottom:30px;
}

.btn-primary {	
	border:0;
	color:#000;
	background-color:#f7e03f;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
	padding: 12px 27px 10px;
	position: relative;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;	
	letter-spacing:0;
	position:relative;
	box-shadow:none;
	z-index:1;
}

.btn-primary:before, 
.btn-primary:after {
	position:absolute;
	content:"";
	height:100%;
	width:0;
	border-radius:4px;
	z-index:-1;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.btn-primary:before {	
	left:0;
	top:0;
	border-top:2px solid #02aae8;
}

.btn-primary:after {	
	right:0;
	bottom:0;
	border-bottom:2px solid #02aae8;	
}

.btn-primary:hover:before {
	left:0;
	width:100%;
	background-color:rgba(247, 224, 63, 0.7);
}
.btn-primary:hover:after {
	width:100%;
	right:0;
	background-color:rgba(247, 224, 63, 0.7);
}

.btn-primary:hover, 
.btn-primary:focus {
	color:#000;
	background-color:transparent;
	box-shadow: 0px 0px 0px 1px #02aae8;
}

.parallax-section { 	
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment:fixed;
	width: 100%;
	min-height:437px;
	color:#fff;
	position:relative;
}

.overlay-bg {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.form-control {
  height: 55px;
  color: #000;
  border: 1px solid #ededed;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.form-control:focus {
  border-color: #f7941d;
  outline: 0;
  -webkit-box-shadow:none;
  box-shadow:none;
}

.form-group {
  margin-bottom: 30px;
}

.form-control::-webkit-input-placeholder { color: black; }
.form-control:-moz-placeholder { color: black; }
.form-control::-moz-placeholder { color: black; }
.form-control:-ms-input-placeholder { color: black; }

/*==============================
=========slider-section=========
================================*/

.navbar-header .navbar-brand {
	position: absolute;
	top: 60px;
	z-index: 999;
	padding: 0;
}

.register-section {
	padding:100px 60px;
	background-color:#02aae8;
	color:#fff;
}

.register-section h2 {
	font-size:30px;
	font-weight:500;
	margin-bottom:20px;
}

.register-section>p{
	margin-bottom:35px;
}

.register-section .form-control {
	border-radius:4px;
}

.register-section  .btn-primary {
	background-color:#0072bc;
	color:#fff;
}

.register-section .btn-primary:before {	
	border-top:2px solid #0364a2;
}

.register-section .btn-primary:after {	
	border-bottom:2px solid #0364a2;	
}

.register-section .btn-primary:hover:before {
	background-color:rgba(3, 100, 162, 0.7);
}
.register-section .btn-primary:hover:after {
	background-color:rgba(3, 100, 162, 0.7);
}

.register-section .btn-primary:hover, 
.register-section .btn-primary:focus {
	box-shadow: 0px 0px 0px 1px #0364a2;
}

#slider-section, #home-section {
	background-image:url(../images/slider/1.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-color:#282f1f;
	position:relative;
	color:#fff;
}

#slider-section .overlay-bg {
	background-color:rgba(19, 19, 22, 0.45);
}

.main-slider .slider-content {
	margin-top:250px;
	font-size:20px;
	font-weight:500;
}

.main-slider .slider-content h1 {
	font-size:62px;
	font-weight:700;
	text-transform:initial;
	margin-bottom:45px;
}

.main-slider .logo {
	margin-bottom:75px;
}

.social-icons  {
	font-size:16px;
	font-weight:600;
}

.social-icons ul {
	margin-top:20px;
}

.social-icons ul li i{
	background-color:#fff;
	color:#000;
	height:25px;
	width:25px;
	font-size:18px;
	line-height:25px;
	display:block;
	border-radius:3px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.social-icons ul li i:hover {
	color:#fff;
}

.social-icons ul li i:hover.fa-facebook {
	background-color:#566C9E;
}

.social-icons ul li i:hover.fa-twitter {
	background-color:#0EB1F2;
}

.social-icons ul li i:hover.fa-google-plus {
	background-color:#D54831;
}

.social-icons ul li i:hover.fa-linkedin {
	background-color:#1F84D2;
}

.social-icons ul li i:hover.fa-pinterest {
	background-color:#CD565C;
}


#bg-video-section .overlay-bg {
	z-index:2;
}

#bg-video-section .container {
	position:relative;
	z-index:2;
}

/*=========Carousel Fade==========*/

.carousel-fade .carousel-inner .item {
	opacity: 0;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
	background-repeat: no-repeat;
	background-size: cover;
}

.carousel-fade .carousel-inner .active {
	opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
	left: 0;
	opacity: 0;
	z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
	opacity: 1;
}

.carousel-fade .carousel-control {
	z-index: 2;
}

/*=========features==========*/

.feature, 
.feature img {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.feature img {
	display:inline-block;
	margin-bottom:20px;
	
}

.feature:hover img{	
	animation-name: flash;
	-webkit-animation-name: flash;
	animation-duration: 0.75s;
	-webkit-animation-duration: 500ms;
	animation-iteration-count: 1;
	-webkit-animation-iteration-count: 1;	
	animation-delay: 0;
	-webkit-animation-delay: 0;
	animation-timing-function: linear;
	-webkit-animation-timing-function: linear;
}

.feature h2 {
	font-weight:400;
}


/*=========course-description==========*/

#course-description {
	background-image:url(../images/others/description-bg.jpg);
	font-weight:300;
	font-size:18px;
	background-color:#333;
}

#course-description .overlay-bg {
	background-color:rgba(0, 0, 0, 0.70);
}

#course-description> .container {
	position:relative;
	z-index:10;
}

#course-description img {
	display:inline-block;
	margin-bottom:12px;
}

#course-description h1 {
	font-size:48px;
	font-weight:700;
	margin-bottom:35px;
}

/*=========curriculum-tab==========*/

#curriculum .curriculum-tab {
	clear:both;
}

.curriculum-tab .tab-list {
	margin-bottom:85px;
}

.curriculum-tab .tab-list li a {
	color: #000;
	font-size: 16px;
	font-weight: 600;
	border-radius:4px;
	padding: 10px 20px;}

.curriculum-tab .tab-list li.active a, 
.curriculum-tab .tab-list li.active a:hover {
	background-color:#f26522;
	color:#fff;
}

.curriculum-tab  .course-info {
	background-color:#f7f7f7;
	padding:35px;
	overflow:hidden;
	margin-bottom:15px;
}

.course-info .section {
	margin-bottom:25px;
}

.course-info .section ul li {
	margin-bottom:8px;
}

.course-info .section ul li span{
	font-weight:700;
	margin-right:5px;
}

.course-info .section h5{
	font-weight:700;
	margin-bottom:15px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.course-info .section:hover h5 {
	color:#f26522;
}

.tab-content .course-info .section{
	webkit-animation: slideup 0.4s linear;
	-moz-animation: slideup 0.4s linear;
	-ms-animation: slideup 0.4s linear;
	-o-animation: slideup 0.4s linear;
	animation: slideup 0.4s linear;
}


/*=========Video Section==========*/

#video-section {
	background-image:url(../images/others/video-bg.jpg);
}

#video-section .overlay-bg {
	background-color:rgba(0, 0, 0, 0.75);
}

#video-section .video-content {
	position:relative;
	padding:225px 0;
}

#video-section img {
	display:inline-block;
	margin-bottom:40px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#video-section img:hover {
	opacity:0.6;
}


#video-section .video-content h1 {
	margin-top:0;
	font-weight:100;
}

#video-section .video-content h1 span{
	font-size:18px;
	font-weight:700;
	color:#fff;
	display:block;
	text-transform:uppercase;
	margin-bottom:10px;
}


/*=========instructor==========*/
#instructor {
	padding-bottom:15px;
}
.instructor-image{
	overflow:hidden;
	position:relative;
}

.instructor-image img {
	width:100%;
}

.instructor-info {
	position:absolute;
	bottom:0;
	left:15px;
	right:15px;
	color:#fff;
	padding:30px 25px;
	max-height:135px;
	
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.instructor-info h2 {
	font-weight:400;
}

.instructor-info .social-icons {
	margin-bottom:20px;
}

.instructor-image:after {
	position:absolute;
	content:"";
	height:100%;
	width:100%;
	left:0;
	top:0;
	background-color:transparent;
	-moz-transform: scale(0.5) rotate(-360deg);
	-webkit-transform: scale(0.5) rotate(-360deg);
	-o-transform: scale(0.5) rotate(-360deg);
	-ms-transform: scale(0.5) rotate(-360deg);
	transform: scale(0.5) rotate(-360deg);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.instructor-info .social-icons, 
.instructor-info .instructor-des {
	opacity:0;
	-moz-transform: scale(0);
	-webkit-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.instructor:hover .instructor-info .social-icons, 
.instructor:hover .instructor-info .instructor-des{
	opacity:1;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);	
}

.instructor:hover .instructor-info {
	max-height:100%;
}

.instructor:hover .instructor-image:after {
	background-color:rgba(0, 114, 188, 0.80);
	-moz-transform: scale(1) rotate(0deg);
	-webkit-transform: scale(1) rotate(0deg);
	-o-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
}


/*=========Requirements==========*/

#requirements {
	background-color:#6c6aaf;
	background-image:url(../images/others/req-bg.jpg);
	overflow:hidden;
	font-size:16px;
}

#requirements .overlay-bg {
	background-color:rgba(96, 92, 168, 0.90);
}

#requirements > .container {
	position:relative;
	z-index:10;
}

#requirements img {
	display:inline-block;
	margin-top:-5px;
}

#requirements h1 {
	font-size:30px;
	font-weight:600;
	margin-bottom:30px;
}

#requirements .btn-primary {
	margin-top:30px;
	background-color:#000;
	color:#fff;
	font-size:20px;
	text-transform:capitalize;
	padding:15px 35px;
}


#requirements .btn-primary:before {	
	border-top:2px solid #212020;
}

#requirements .btn-primary:after {	
	border-bottom:2px solid #212020;	
}

#requirements .btn-primary:hover:before {
	background-color:rgba(33, 32, 32, 0.7);
}

#requirements  .btn-primary:hover:after {
	background-color:rgba(33, 32, 32, 0.7);
}

#requirements .btn-primary:hover, 
#requirements .btn-primary:focus {
	box-shadow: 0px 0px 0px 1px #212020;
}

/*=========Word For LearnCastel==========*/

#comments-carousel> h1{
	margin-bottom:50px;
	margin-top:0;
}

#comments-carousel> h1 span{
	font-weight:500;
}

#comments-carousel .item img{
	height:175px;
	width:175px;
	display:inline-block;
	background-color:#f3f3f3;
	padding:10px;
	margin-bottom:30px;
}

#comments-carousel .word-author  {
	font-size:16px;
}

#comments-carousel .word-author span{
	font-weight:500;
}

/*================Contact us==============*/

#contact-us {
	background-color:#f7f7f7;
}

.contact-content .contact-info{
	font-size:20px;
	font-weight:300;
}

.contact-content .contact-info i {
	font-size:35px;
	-webkit-transition:all 0.3s ease-out 0s;
	-moz-transition:all 0.3s ease-out 0s;
	-ms-transition:all 0.3s ease-out 0s;
	-o-transition:all 0.3s ease-out 0s;
	transition:all 0.3s ease-out 0s;
	
}

.contact-content .contact-info:hover i{
	color:#f7941d;
}

.contact-content .contact-info h3 {
	text-transform:uppercase;
}

.contact-content .contact-info a:hover {
	color:#000;
}

#gmap {
	height:500px;
}

#contact-us .contact-form {
	padding-top: 95px;
    padding-bottom: 70px;
}

#contact-form #message {
	height:220px;
	resize:none;
	padding:18px;
}

#contact-form .btn-primary {
	padding:15px 55px;
	display:inline-block;
	margin-top:35px;
	background-color:#f26522;
	color:#fff;
}

#contact-form .btn-primary:before {	
	border-top:2px solid #dd5f23;
}

#contact-form .btn-primary:after {	
	border-bottom:2px solid #dd5f23;	
}

#contact-form .btn-primary:hover:before {
	background-color:rgba(206, 88, 32, 0.7);
}

#contact-form  .btn-primary:hover:after {
	background-color:rgba(206, 88, 32, 0.7);
}

#contact-form .btn-primary:hover, 
#contact-form .btn-primary:focus {
	box-shadow: 0px 0px 0px 1px #dd5f23;
}

#footer-bottom {
	background-color:#131316;
	color:#fff;
	padding:40px 0 30px;
	font-weight:300;
}

#footer-bottom a {
	color:#f7941d;
	font-weight:600;
}









