/*
  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.	video-slider-section
5.	Home Section
6.	about
7.	Philosophy
8.	Donate Section
9.	Video Section
10.	Word For help
11.	Support
12.	Support us
13.	photo-gallery
14.	Contact Us


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


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

body {
	font-size: 16px;
	color: #454545;
	background-color: #fff;
	font-weight: 300;
}

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:700;
}

span {
	color:#424E76;
}

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

.section-title {
	margin-bottom: 70px;
	padding-bottom: 0;
	text-align: center;
	font-weight:560;
	color: #777;
}

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

.section-title p {
	color: #444;
}

.btn-primary {	
	border:0;
	color:#fff;
	background-color:#424E76;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 600;
	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 #313B5D;
}

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

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

.btn-primary:hover, 
.btn-primary:focus {
	color:#fff;
	background-color:transparent;
	box-shadow: 0px 0px 0px 1px #313B5D;
}

.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: #313B5D;
  outline: 0;
  -webkit-box-shadow:none;
  box-shadow:none;
}

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

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

#slider-section, #home-section {
	background-image:url(../images/slider/0.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-color:#fff;
	position:relative;
	color:#555;
}
#home-wrapper {
	position:relative;
}
#slider-section .overlay-bg, 
#hoome-section .overlay-bg, 
#bg-video-section .overlay-bg {
	background-color:rgba(19, 19, 22, 0.45);
}

.main-slider .slider-content {
	padding-top:185px;
	font-size:20px;
	margin-bottom:45px;
	color:#555;
}

.slider-content, .logo {
	position:relative;
	z-index:1;	
}

.main-slider .slider-content h1 {
	font-size:72px;
	font-weight:700;
	text-transform:capitalize;
	margin-bottom:15px;
}

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

.main-slider .slider-content .btn-primary {
	margin-top:30px;
	margin-bottom:110px;
}


/*=========home-section==========*/
#home-section {
	background-image:url(../images/slider/2.jpg);
}

#home-section .overlay-bg {
	background-color:rgba(255, 255, 255, 0.10);
}

/*=========about==========*/

#about {
	padding-top: 80px;
	font-size:16px;
	padding-bottom: 120px;
}

#about p {
	margin-bottom:30px;
}

#sil {
	padding-top: 80px;
	font-size:16px;
	padding-bottom: 120px;
}

#sil p {
	margin-bottom:30px;
}

/*=========Philosophy==========*/

#Philosophy {
	background-image:url(../images/overview-bg.jpg);
	font-weight:300;
	font-size:16px;
	background-color:#333;
}

#Philosophy h1 {
	color:#EEEEEE;
	margin-bottom:30px;
}

#Philosophy h5 {
	font-weight:500;
	margin-bottom:18px;
}

#Philosophy .overview-content {
	margin-bottom:30px;
}

#Philosophy .overview-content span {
	font-weight:500;
}

/*=========Word For help==========*/

#comments-carousel {}

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

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


/*=========support==========*/

#support {
	background-image:url(../images/who-we-bg.jpg);
	color:#000;
	font-size:16px;
	font-weight:300;
	padding-top:20px;
}

#support .overlay-bg {
	background-color:rgba(255, 255, 255, 0.10);
}

#support .padding {
	position:relative;
}

#support .company-logo {
	margin-bottom:40px;
	font-weight:400;
	line-height:12px;
}

#support .company-logo a {
	color:#000;
	font-weight:700;
	
}

#support .company-logo img {
	display:inline-block;
	margin-bottom:15px;
}

#support .section-title {
	margin-bottom:30px;
}

#support h1 {
	color:#444;
	font-weight:400;
}	

#support h2 {
	color:#424E76;
	font-weight:500;
}	

.support .desc p {
	font-size: 18px;
	font-weight:300;
	padding-top:20px;
	color: #444;
}


/*==========photo-gallery========*/

.gallery-content {	
	margin-left:-15px;
	margin-right:-15px;
}

.gallery-content img {
	width:100%;
}

.photo-info {
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:100%;
	color:#000;	
	padding:30px;
	font-weight:400;
	background-color:rgba(255, 230, 0, 0.80);
	-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;
	z-index:1;
}

.photo-info a {
	font-size:28px;
	display:block;	
	color:#000;
	-webkit-transition:all 0.3s ease-out 0.35s;
	-moz-transition:all 0.3s ease-out 0.35s;
	-ms-transition:all 0.3s ease-out 0.35s;
	-o-transition:all 0.3s ease-out 0.35s;
	transition:all 0.3s ease-out 0.35s;
}

.photo-info h3 {
	margin-top:5px;
	margin-bottom:5px;
	font-weight:500;
	-webkit-transition:all 0.3s ease-out 0.25s;
	-moz-transition:all 0.3s ease-out 0.25s;
	-ms-transition:all 0.3s ease-out 0.25s;
	-o-transition:all 0.3s ease-out 0.25s;
	transition:all 0.3s ease-out 0.25s;
}

.photo-info span {
	color:#000;
	-webkit-transition:all 0.3s ease-out 0.35s;
	-moz-transition:all 0.3s ease-out 0.35s;
	-ms-transition:all 0.3s ease-out 0.35s;
	-o-transition:all 0.3s ease-out 0.35s;
	transition:all 0.3s ease-out 0.35s;
}

.photo-info, 
.photo-info a, 
.photo-info h3, 
.photo-info span {
	opacity:0;
	-moz-transform: scale(0);
	-webkit-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
}

.gallery-content:hover .photo-info, 
.gallery-content:hover .photo-info a, 
.gallery-content:hover .photo-info h3, 
.gallery-content:hover .photo-info span{
	opacity:1;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}

.gallery-content:hover .photo-info a{	
	margin-top:70px;
}


/*================Contact us==============*/
footer {
	padding-top:20px;
}

footer .section-title h1 {
	margin-bottom: 15px;
}

.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:#313B5D;
}

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

.contact-content .contact-info p {
	font-family: 'Raleway', sans-serif;
	font-weight:300;
}

.contact-content img.center-block {
	max-width:168px;
}

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

.gmap {
	height:500px;
}

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

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

#contact-form .btn-primary {
	padding:12px 55px;
	display:inline-block;
	margin-top:35px;
}

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

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

#overly_open,
#overly_close {
  display: none;
}
#overly_open.on,
#overly_close.on {
  display: block;
}

.overly_btn_block {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 999;
}

.overly_btn_block:hover {
	cursor: pointer;
}

#overly_menu {
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
  z-index: 998;
}
#overly_menu .overly_sentence p {
  color: #424E76;
  font-size: 18px;
  padding: 0 20px 10px;
}
#overly_menu ul {
  text-align: center;
  margin: 0 auto;
}
#overly_menu ul li img {
  max-width: 168px;
  margin-bottom: 30px;
}
#overly_menu ul .overly_links a {
  text-decoration: none;
  font-size: 20px;
  color: #424E76;
  font-weight: 200;
  font-family: helvetica;
  line-height: 28px;
  -webkit-transition: all 0.3s linear;
  -webkit-transform-origin: 50% 50%;
  -moz-transition: all 0.3s linear;
  -mox-transform-origin: 50% 50%;
}
#overly_menu ul.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#overly_menu ul.flex .overly_sentence {
  width: 100%;
  padding-bottom: 20px;
}
#overly_menu ul.flex .overly_links {
  padding: 0 20px;
  display: inline-block;
}