/*
Theme Name: AVM.edu.np
Author: BREVIN CREATION
Author URI: http://www.brevincreation.com
Version: 1.0
*/

body,div,section,article,header,nav,footer,h1,h2,h3,h4,h5,h5,p { margin:0px; padding:0px; }

body { font-family: 'Raleway', sans-serif; color:#474848; font-size:15px; }

h1,h2,h3,h4,h5,h6 { font-weight:normal; }

h1 { font-size:20px; text-transform:uppercase; }

p { line-height:22px; }

b,strong { font-weight:normal; color:#953132; }

/* Required */

.hidden{
	opacity: 0;
}

.visible{
	opacity: 1;
}

hr {
height: 1px;
border: 0;
background-color: #f1f1f1;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	}

.clear { clear:both; }

a { color:#333; text-decoration:none;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;}
a:hover { text-decoration:none; color:#333; }

a.readMore { text-decoration:none; border:1px solid #555; padding:10px 20px; color:#555; }
a.readMore:hover { text-decoration:none; border:1px solid #971e28; background:#971e28; color:#fff; }


.container { max-width:1170px; height:auto; margin:0px auto; padding:0 15px; }


/* HEADER TOP */
#header { width:100%; height:auto; padding:0px 0 0px 0; position:absolute; top:0; z-index:10000; }
#header-top { width:100%; height:auto; padding:3px 0; }
#header-slogan { width:auto; padding:3px 0; float:left; }
#header-slogan p { color:#fff; }
#header-slogan p b { color:#fff; }

#header-slogan2 { width:auto; padding:3px 0; float:right; }
#header-slogan2 p { color:#fff; }

#header-contact-email p, #header-contact-phone p { color:#eee; }

#header-social { width:auto; float:right; padding:0; margin:0 30px 0 0; }
a.facebook { display: block; float:left; width:25px; height: 25px; margin-right:1px; text-decoration: none; background: url("images/social_fb.png");	}
a.facebook:hover { background-position:0 -25px;}
.fbdisplace { position: absolute;left: -5000px;}
a.twitter { display: block; float:left; width:25px; height: 25px; margin-right:1px; text-decoration: none; background: url("images/social_tw.png");	}
a.twitter:hover { background-position:0 -25px;}
.twdisplace { position: absolute;left: -5000px;}
a.email { display: block; float:left; width:25px; height: 25px; text-decoration: none; background: url("images/social_ml.png");	}
a.email:hover { background-position:0 -25px;}
.mldisplace { position: absolute;left: -5000px;}


/* HEADER */
header { width:100%; height:auto; padding:15px 0;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	position: relative;
  }

header.smaller {
	position:fixed; z-index:1; top:0; padding:2px 0; background:#fff;  border-bottom:1px solid #eee;
	opacity: 0.95; filter: alpha(opacity=95); /* For IE8 and earlier */
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
  }
.navbar-brand img.smaller { width:102px; }

/* SLIDER */
.slider h3 { position:absolute; bottom:62px; right:10%; padding:15px 20px; font-size:1.3em; background:#9f202a; color:#fff; }
.slider h3 a { color:#54b7f6; }
.slider p { position:absolute; bottom:10%; left:10%; padding:6px 20px; font-size:1.2em; background:#9f202a; color:#fff; }

/* TITLE BAR */
#title-bar { width:100%; height:auto; padding:30px 0; background:#953132; color:#fff; text-align:center; }
#title-bar h3 { padding:10px 0; font-size:30px; text-align:center; }
#title-bar a { text-decoration:none; float:right; padding:10px 20px; border:1px solid #fff; font-size:18px; color:#fff; }
#title-bar a:hover { background:#1268b3; border:1px solid #1268b3; color:#fff; }



#header_about { width:100%; position:relative; padding-top:120px; padding-bottom:0px; margin:0; background:#953132; }
#header_about h1 { margin:0; padding:3% 0; font-size:25px; color:#fff; }

.breadcrumb { text-align:center; color:#999; }
.breadcrumb a { text-decoration:none; color:#333; font-size:13px; display:inline-block; padding:5px 5px; }
.breadcrumb a:hover { text-decoration:none; color:#953132; }


/* SUB PAGE */

#subpage_section {
	width:100%; padding:50px 0; height:auto; background:#fff;
}

table { margin:0; padding:0; border:1px solid #ddd; }
table th { margin:0; padding:1%; background:#f2f2f2; border:1px solid #ddd; }
table td { margin:0; padding:1%; border:1px solid #ddd; }

/* Subpage
---------------------------------------------------------- */
.subpage { width:100%; padding-right:0px; height:auto; float:left; }
.subpage h1 { padding:0 0 10px 0; margin:0 0 20px 0; font-size:28px; color:#953132; }
.subpage h2,#subpage h3 { text-align:left; }
.subpage p { text-align:justify; margin-bottom:15px; }
.subpage img {  }
.sub-img { max-width:870px; width:100%; height:auto; float:right; margin:0 0 30px 30px; }
.sub-img1 { max-width:870px; width:100%; height:auto; float:left; margin:0 30px 30px 0; }

#subpage-wrap { width:100%; padding-top:130px; }

.team_list { width:270px; height:330px; float:left; margin-right:30px; margin-bottom:30px; position:relative; }
.team_list:nth-child(3n+3) { margin-right:0px; }
.team_list img { max-width:270px; height:auto; }
.team_list h3 { position:absolute; bottom:61px; left:-10px; padding:0 10px 3px 10px; background:#953132; color:#fff; }
.team_list h4 { position:absolute; bottom:30px; left:0; padding:3px 10px; background:#333; color:#fff; }

ul.list { list-style:none; margin:0px; padding:0px; }
ul.list li { width:270px; min-height:auto; margin:0 30px 30px 0; padding:0px; float:left; text-align:center; }
ul.list li img { width:100%; height:auto; }
ul.list li:nth-child(4n+4) { margin-right:0px; }

ul.gallery { list-style-type:none; margin:20px 0; padding:0px;}
ul.gallery li { float:left; margin:0 20px 20px 0;}
ul.gallery li:last-child { margin:0 0px 0 0; padding:0px;}

ul.associates { list-style:none; padding:20px 0 20px 0; margin:0 0 20px 0; clear:both; }
ul.associates li { height:80px; padding:20px; margin:0 0px 0px 0; float:left; border-right:1px solid #eee; border-bottom:1px solid #eee; }
ul.associates li img { max-width:200px; width:auto; max-height:80px; height:auto; text-align:center; }

/* Right
---------------------------------------------------------- */
.right { width:239px; float:right; padding-left:30px; border-left:1px solid #d3eeff; }
.right h1 { padding:0 0 10px 0; margin:0 0 20px 0; font-size:28px; color:#0062d0; }
.right ul li a { text-decoration:none; color:#435c70; }
.right ul li a:hover { text-decoration:none; color:#0062d0; }


/* MESSAGE
---------------------------------------------------------- */
#message_section { width:100%; padding:80px 0; background:#e8e8e8; }
#message_section h1 { margin-bottom:30px; font-size:28px; text-align:center; color:#79292a; }
.message_list { width:100%; margin-right:0px; margin-bottom:0px; background:#fff; }
.message_list img { width:800px; height:auto; float:left; }
.message_list_details { width:300px; height:auto; float:right; padding:30px; }
.message_list_details h2 { margin-bottom:0px; color:#953132; }
.message_list_details h3 { margin-bottom:30px; color:#333; }
.message_list_details p { margin-bottom:30px; color:#555; }

/*///// HOME NEWS /////*/
#news_section { width:100%; background:#953132; padding:80px 0; }
#news_section h1 { margin-bottom:30px; text-align: center; font-size: 28px; color:#fff; }
.news_list {
	width:218px; min-height:55px; border:1px solid #e0585c; float:left; padding:20px 25px; margin-right:30px;
	text-align: center; color:#da888b; font-size:13px; transition: .4s;
}
.news_list:hover { background: #e0585c; transition: .4s; }
.news_list:last-child { margin-right:0px; }
.news_list a { width:auto; min-height:50px; text-decoration: none; text-transform: uppercase; font-size: 16px; color:#fff; }
.news_list a:hover { text-decoration: none; color:#fff; }

/* GALLERY
---------------------------------------------------------- */
#gallery_section { width:100%; padding:60px 0; }
#gallery_section h1 { margin-bottom:30px; font-size:28px; text-align:center; color:#79292a; }
.gallery_list { width:270px; margin-right:30px; float: left; text-align:center; }
.gallery_list:nth-child(4n+1) { margin-right:0px; }
.gallery_list a { display:block; margin-top:30px; margin-bottom:10px; font-size:18px; text-decoration:none; color:#333; }
.gallery_list a:hover{ text-decoration:none; color:#333; }
.gallery_list p { font-size:14px; color:#333; }
.gallery_list img { width:100%; max-width: 270px; height:auto; }

/* TESTIMONIALS
---------------------------------------------------------- */
#testimonials-content { width:100%; padding:80px 0; height:auto; background:#f2f2f2; z-index:10000000; }
#testimonials-content h1 { margin-bottom:30px; font-size:28px; text-align:center; color:#79292a; }
.testimonials { width:100%; max-width:370px; float:left; margin-right:30px; margin-bottom:30px; background:#fff; }
.testimonials:nth-child(3n+3) { margin-right:0px; }
.testimonials img { width:140px; height:auto; max-height:200px; padding:0px; float:left; }
.testimonials p { width:190px; float:left; padding:20px; }


/* FOOTER
---------------------------------------------------------- */
#footer-content { width:100%; padding:80px 0 100px 0; height:auto; background:#953132; }
.footer { width:270px; margin-right:30px; float:left; color:#fff; }
.footer:last-child {  margin-right:0px; }
.footer h1 { margin-bottom:30px; color:#b57172; }
.footer p { color:#fff; }
.footer ul { list-style:circle; margin:0 0 0 20px; padding:0px; }
.footer ul li { padding:5px 0; }
.footer ul li a { color:#fff; }

ul.list-inline { list-style:none; margin:0; padding:0; }
ul.list-inline li { display:inline-block; margin:0 10px 0 0; padding:0; }
ul.list-inline li a { margin:0; padding:0; font-size:20px; color:#ded8d2; }
ul.list-inline li a:hover { color:#3865d5; }


/* COPYRIGHT
---------------------------------------------------------- */
#copyright-content { width:100%; height:auto; padding:30px 0; height:auto; background:#79292a; color:#b57172; text-align:center; }

.footer_copyright { max-width:610px; height:auto; float:left; text-align:left; }
.footer_powered { max-width:410px; height:auto; float:right; text-align:right; }
.footer_powered a { font-size:13px; color:#fff; }
.footer_powered a:hover { color:#dfbc2e; }




/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 1200px){
	
	#message_section, #news_section, #gallery_section, #testimonials-content { padding:10% 0; }

	.message_list { width:100%; margin-right:0px; margin-bottom:0px; float: left; background:#fff; }
	.message_list img { width:68.37%; }
	.message_list_details { width:25.64%; padding:2.56%; }

	.footer { width:31.62%; margin-right:2.56%; float:left; color:#fff; }
}

/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 768px){
	
	.message_list img { width:48.37%; }
	.message_list_details { width:45.64%; padding:2.56%; }

}

/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 515px){

	.container { width:80%; height:auto; margin:0px; padding:0 10%; }

	img { max-width:100%; height:auto;}

	#header-slogan, #header-slogan2 { float:none; padding:3px 0; text-align:center; }
	
	.slider h3 { position:absolute; bottom:0; left:0; padding:6px 20px; font-size:70%; }

	#title-bar { padding:3% 0; }
	#title-bar h3 { padding:3% 0; font-size:22px; }


	.message_list { width:100%; margin-right:0px; float: none; }
	.message_list img { width:100%; height:auto; float:none; }
	.message_list_details { width:80%; height:auto; float:none; padding:10%; }

	.news_list {
		width:78%; min-height:55px; border:1% solid #e0585c; float:none;
		padding:5% 10%; margin-right:0px; margin-bottom:10px; 
		text-align: center; color:#da888b; font-size:13px; transition: .4s;
	}
	.gallery_list { width:100%; margin-right:0px; margin-bottom:10px;  float: none; }

	#footer-content { width:100%; padding:10px 0; }
	.footer { width:100%; margin:20px 0; float:none; display:block; clear:both; }
	.footer h1 { margin-bottom:5px; }

	#copyright-content { text-align:left; }
	.copyright small { display:block; }
}
