/*
Theme Name: 	RMK Residential
Theme URI:    http://lightyearmagic.com
Description: 	Lightyear Magic provides the best in class code development. You can be sure that your website is in everywhich way better than most other systems.
Version: 		1.0
Author: 		Lightyear Magic Design Studio
Author URI:		http://lightyearmagic.com
*/

/* BASE CSS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600|Roboto:400,400i,700,700i');
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  color: #333333;
}
footer{
  margin-top: auto;
} 

.relative-position{ position: relative; }

ul.no_list, ul.no_list li, ol.no_list, ol.no_list li{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.no_list li, ol.no_list li{ display: inline-block; }
a{ transition: all .4s; text-decoration: none !important; cursor: pointer; }
body figure{ margin: 0 0 0 0;}
figure img{ display: block; width: 100%; height: auto; }

figure{ background-size: cover; background-position: center center; }

@media only screen and (max-width: 769px) {
	.banner figure{ min-height: 400px;}
	.banner img{ display: none !important; }
}

.navbar-light .navbar-nav a{
	color: rgba(0,0,0,.5);
    text-decoration: none;
    padding: 15px 20px 10px;
    display: block;
}

:root {
  --main-color: #218f69;
  --secondary-color: #f07a3d;
  --footer-color: #585858;
  --third-color: rgba(0,0,0,.5);
}

.row_list {
	margin: 0;
	padding: 0;
}
.row_list li{ list-style-type: none; }

h1, h2, h3, h4, h5, h6{ font-family: 'roboto', sans-serif; font-weight: bold;}
.embed-container {
    height: 100%;
    min-height: 410px;
}

.embed-container iframe{
	overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

/********** START HEADER *************/

header{ position: relative; }
header:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 18%;
	background: #ffffff;
	height: 100%;
	z-index: 1;
}
header .logo{
	display: inline-block;
    width: 20%;
    height: 125px;
    background: url(images/logo.png) center center no-repeat;
    text-indent: -9999999px;
    margin: 10px 0 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    padding: 0;
    background-size: 131px;
}
header nav.navbar ul.navbar-nav {
	display: flex;
	width: 100%;	
	margin: 10px 0 0 0;
	z-index: 2;
}
header nav .navbar-nav li{
	position: relative;
}

header nav .navbar-nav li:before{
	content: '';
	position: absolute;
	bottom: 0; left: 0%;
	width: 0%;
	height: 1px;
	background: var(--secondary-color);
	transition: all .3s;
}

header nav .navbar-nav li:after{
	content: '';
	position: absolute;
	bottom: 0; right: 0%;
	width: 0%;
	height: 1px;
	background: var(--secondary-color);
	transition: all .3s;
}

header nav .navbar-nav li .sub-menu{
	position: absolute;
    left: -10px;
    top: 40px;
    background: #ffffff;
    width: 250px;
    z-index: 1;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
}
header nav .navbar-nav li .sub-menu li{ border-bottom: 1px solid #cccccc; }
header nav .navbar-nav li:hover .sub-menu{ display: block; }
header nav .navbar-nav li .sub-menu a{ padding-left: 20px; }
.navbar {
    background: #ffffff;
    padding: 0;
    width: 80%;
    display: flex;
    flex-flow: wrap;
}
header nav .navbar-nav li:hover:before, header nav .navbar-nav li:hover:after{
	width: 50%;
}
header nav .navbar-nav a{ font-weight: bold; }
header nav .navbar-nav li:hover a{
	color: var(--secondary-color);
}
header .social_links {
    width: 100%;
    background: #08a6b3;
    justify-content: space-between;
    display: flex;
    padding: 1em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-bottom: 1px solid #ffffff;
}

header .social_links h1 a{
	font-size:40px;    
    line-height: 1;   
}
.navbar-light .navbar-nav a {
    font-weight: 500;
}
header .social_links .no_list {
    margin: 0 25px 0 0;
    padding: 5px 10px 2px 0;
    border-right: 1px solid #ffffff;
}
header .social_links li{
	margin-right: 16px;
}
.social_links_group {
    display: flex;
    align-items: center;
	padding-right: 5%;
}
header .social_links a{
	color: #ffffff;
	font-size:16px;
	display: inline-block;
	font-family:roboto;
}
header .social_links a.calendar_btn i {
    font-size: 26px;
    vertical-align: text-bottom;
    padding-right: 5px;
}

header .social_links a span{font-weight:400;}
/*header .social_links h1 a, header .social_links a{opacity: 0.7;}*/
header .social_links h1 a:hover,
header .social_links li a:hover{ opacity: 1; }
header .social_links a.calendar_btn{
	font-size: 16px;
    margin: 0;
    opacity: 1;
    cursor: pointer;
}
header .social_links a.calendar_btn:hover,
header .social_links li a:hover{color: #A9C137;}
header .social_links li a:hover{ transform: scale(1.5);}
.social_links h1 {
    margin: 0;
    line-height: 1;
}
.relative-position {
    position: relative;
    display: flex;
    padding: 0;
	align-items: flex-start;
}
/********** END HEADER *************/


/********** START ALTERNATE SECTION *************/
.col-md-7.no-padding.circular_column {
    background: #d1d3d4;
    padding:2em 4em	!important;
}

h2.circular_column_title {
    color: #6c6c6c;
    margin-bottom: 20px;
	font-size:40px;
	
}
ul.circular_list {
    margin: 0;
    padding: 0 10px 0 0;
    list-style: none;
    max-width: 95%;
    height: 355px;
    overflow: auto;
}
ul.circular_list::-webkit-scrollbar {
    width: 12px;
}
 
ul.circular_list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
}
 
ul.circular_list::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

ul.circular_list li{
	margin-bottom:15px;	
	background:#ffffff;
	border-radius:10px;
	display:flex;	
    width: 100%;
}
li.circular .date {
    color: #585858;
    font-size: 30px;
    font-weight: 600;
    margin-right: 20px;
    font-family: 'Montserrat', sans-serif;
    padding: 15px;
    background: #f9f9f9;
    display: inline-block;
    border-right: 1px solid #cccccc;
	min-width: 140px;
}

li.circular .ciru_info {
    color: #606060;
    font-size: 16px;    
    padding: 5px 20px 5px 0;
}
.contentinner {  width: 100%;}
.alternate_section .no-padding{
	padding: 0 !important;
}
.alternate_section .content{
	display: flex;
	width: 100%;
	height: 100%;	
	padding: 2em 4em;
	align-items: center;
	color: #ffffff;
}
.alternate_section .figure_container{ width: 100%; height: 100%; display: flex;  justify-content: center;    align-items: flex-start; }
.alternate_section .figure_container figure{ width: 100%;}
.alternate_section .content h2{
	font-size: 54px;
    color: #ffffff;
    margin: 0 0 0.5em 0;
    font-weight: bold;
    line-height: 1;
}

.alternate_section .content p{ font-size: 1.25em; margin-bottom: 1em; display: flex;}
.alternate_section .content .know_more{justify-content: flex-end; margin: 0; }
.alternate_section .content a{ color: #ffffff; }
.alternate_section .content a:hover{ color: #333333; }




#what_matters .content{	background: var(--main-color);	 }

#what_matters .content .carousel{
	border-top: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	margin-bottom: 1em;
}

#what_matters .content .carousel-item img {
    width: auto;
    max-height: 270px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
#what_matters .figure_container{ background: #F7F7F7; }


#experimental_learning .content{ background: #faa21d; justify-content: space-around; }
#experimental_learning .figure_container{ background: #faa21d; }
#green_campus .content { background: #0f98a2; justify-content: space-around;}
#life_at_rmk .content { background: #f07a3d; justify-content: space-around;}
#life_at_rmk .figure_container{ background: #f07a3d; }
#rmk_education .figure_container { background: #aac762;}
#explore_rmk .content {
    background: #e46b6a;
    align-items: self-start;
}
img.size-full.aligncenter {
    margin: 0 auto;
	max-width: 100%;
	height: auto;
}
#explore_rmk .content li{
	margin: 1em 4em 3em 0;
	    text-align: center;
}
#explore_rmk .content li i{
	    font-size: 2.5em;
	    transition: all .4s;
}
#explore_rmk .content li figure{
	background: rgba(255,255,255,.3);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 1000px;
        margin-bottom: 10px;
        transition: all .4s;
}

#explore_rmk .content li a:hover i{
	color: #e46b6a;
}

#explore_rmk .content li a:hover figure{
	background: rgba(255,255,255, .8);
}
.alternate_section .content.nowarp {
    align-items: unset;
    display: block;
    height: auto;
    padding-bottom: 0px;
    padding-left: 0;
}
.alternateRow .alternate_section:last-child .col-md-5.no-padding { background:#0f98a2;}
.alternateRow .alternate_section .col-md-7.no-padding { background:#faa21d;}


/********** END ALTERNATE SECTION *************/


/********** START BLOG SLIDER *************/
#news_events{ padding: 4em 0 6em; }
#news_events h2{ color: #666666; font-size: 2.5em; margin-bottom: 1em; }
#news_events article{ background: var(--main-color); }
#news_events article .content{ padding: 1em; color: #ffffff;min-height: 230px; }
#news_events article h3{ font:500 1.1em roboto,sans-serif; margin-bottom: 0.35em; }
#news_events article p{ font-size: 0.9em; opacity: 0.7; margin-bottom: 1.75em; }
#news_events article .explore_btn{ 
	font-size: 15px;
    background: #fff9ae;
    width: 110px;
    color: #0f98a2;
    padding: 5px 15px;
    text-align: center;
    border-radius: 15px;
 }
 #news_events article .explore_btn:hover{
	background: #585858;
	color: #ffffff;
 }
 
#news_events article a{ color: #ffffff; margin-bottom: 0.65em; display: block; }
#news_events .carousel-inner{ width: 100%; margin: 0 auto; }
#news_events .carousel-control-next, #news_events .carousel-control-prev{ width: 5%; }
#news_events .carousel-control-prev-icon{ background-image: url(images/prev-arrow.png); }
#news_events .carousel-control-next-icon{ background-image: url(images/next-arrow.png); }
#news_events .carousel-indicators .active{ background-color: var(--main-color); }
#news_events .carousel-indicators li{background-color: rgba(0,0,0,0.3); }
#news_events .carousel-indicators{margin-bottom: 0;bottom: -30px; }

/********** END BLOG SLIDER *************/


/********** START SINGLE PAGE *************/
.single header, .page header{
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
#page_container{
	padding: 4em 0;
}

#page_container h4.page_title{
	font-weight: normal;
	font-size: 1em;
	margin: 0 0 3em 0;
	color: rgba(0,0,0,0.4);
}

#explore_circular ul.circular_list {  max-width: 100%;height: auto;}

.fancybox-content {
    border-radius: 10px;
	max-width:1000px;
}
#explore_circular li.circular .date {
    font-size: 24px;
    padding: 10px 15px;
}

/********** END SINGLE PAGE *************/



/******** START FOOTER **********/
footer{
	padding: 3em 0;
	background: var(--footer-color);
	color: rgba(255,255,255,0.75);
	border-top: 1px solid #ffffff;
}

footer .logo{
	width: 148px;
	height: 140px;
	/*background: url(images/footer-logo.png) 0 0 no-repeat;
	text-indent: -99999999px;*/
	display: block;
}
.copyrightBar p {
    letter-spacing: 1px;
    margin-top: 20px;
}
footer h3{ font-size: 16px; color: #ffffff; }
footer .footer_menu { padding: 0 0 0 1em;}
footer .footer_menu ul{ padding: 0; margin: 0; }
footer .footer_menu li{
	display: block;
}
footer .footer_menu a{
	color: rgba(255,255,255,0.75);
    padding: 3px 0;
    display: block;
	font-size: 14px;
}
footer .footer_menu a:hover{ color: var(--secondary-color); text-decoration: none; }

footer .copyright_container{
	display: flex;
    height: 100%;
    align-items: flex-end;
    justify-content: flex-end;
}
.copyrightBar {
    text-align: center;
    padding-top: 20px;
}

footer .social_links{ margin: 1em 0; }

footer .social_links a{ 
	color: rgba(255,255,255,0.75);
    font-size: 1.6em;
    margin-right: 30px;
}
footer .social_links a:hover{ text-decoration: none; color: var(--secondary-color); }

footer .copyright_container p{ margin: 0 0 9px 0; }
footer .copyright_container p small{ opacity: 0.5; }
footer .copyright_container { justify-content: flex-start; }
#news_events { overflow: hidden;position: relative;}
.alternate_section .circular_column .content a { color: #08a6b3;}
.alternate_section .circular_column .content a:hover { color: #000000;}
.footer-block { border-right: 1px solid #8d8d8d;}
.footer-block:nth-child(5) { border-right: 0;}
footer .copyright_container p {
	margin: 0 0 9px 0;
	font-size: 14px;
}
.carousel-content{
	padding:30px 20px;
	min-height: 280px;
	max-width:75%;
	margin:0 auto;
	display:flex;
	align-items:center;
}
#whatsNewSlider .carousel-item { min-height:280px;}


.alternate_section .carousel-content-inner p {
    font-size: 22px;
    font-weight: 300;
}
.alternateRow .alternate_section:nth-child(2n+2) .col-md-7.no-padding {
    order: 2;
}
.alternate_section .col-md-5.no-padding{background:#faa21d;}
/******** END FOOTER **********/



/******** START MEDIA QUERY **********/

@media screen and (max-width: 1400px) {
	header .social_links {font-size: 0.85em;}	
	.navbar-light .navbar-nav a{padding: 15px 15px 10px;}
}
@media screen and (max-width: 1380px) {
	.alternateRow .alternate_section .col-md-7.no-padding, .alternateRow .alternate_section .col-md-5.no-padding { max-width:50%;flex:1 0 50%;}
	.alternate_section .content { padding: 30px 30px;}
	.alternate_section .content h2 {  font-size: 40px;}
	.alternate_section .figure_container { align-items: flex-start;}
}
@media screen and (max-width: 1200px) {
	header nav .navbar-nav li .sub-menu { position: relative;}
	section#home_slider {   overflow: hidden;}
	.navbar{justify-content: flex-end;flex: 1;}
	header .navbar-toggler {margin-top: 1em;margin-right: 20px;}
	#menu-header-menu {
		margin-top: 0;
	}
	header .social_links {
		font-size: 0.65em;
		padding: 15px 15px 15px 50px;
	}	
	#menu-header-menu > li > a {
		color: var(--secondary-color);
	}
	header nav .navbar-nav li {
		    z-index: 2;
	}
	ul.sub-menu {
		left: 0%!important;
		top: 0%!important;
	}
	header .logo {width: 180px;}
	header nav .navbar-nav li {
		position: relative;
		text-align: center;
	}
	header nav .navbar-nav li .sub-menu {  width: 100%;}
	.social_links_group {padding-right: 20px;}
}
@media screen and (max-width: 900px) {
	.footer-block {  border-right: 0;}
	#whatsNewSlider .carousel-item, .carousel-content {  min-height: 250px;}
	#what_matters .col-md-4.no-padding {  order: 2;}
	.alternateRow .alternate_section .col-md-7.no-padding {  order: 2;}
	.alternateRow .alternate_section .col-md-7.no-padding, .alternateRow .alternate_section .col-md-5.no-padding { width:100%;max-width:100%;flex:1 0 100%;}
	#blogSlider .col-md-3{
		flex: 1 0 50%;
		max-width: 50%;
		margin-bottom:20px;
	}
	.alternate_section .row>.no-padding {
		max-width: 100%;
		flex: 1 0 100%;
	}
	.social_links h1 {display: none}
	header .social_links {
		font-size: 0.75em;
	}
	.footer-block:first-child {
		max-width: 100%;
		flex: 1 0 100%;
		margin-bottom: 1em;
	}
	.footer-block {
		margin-bottom: 2em;
		max-width: 50%;
		flex: 1 0 50%;
	}
	footer { padding-top: 1.5em;}
	footer .logo {
		width: 100px;
		height: 100px;		
	}
	footer .logo img{width:100%;}
	footer .social_links a {		
		font-size: 20px;
		margin-right: 15px;
	}
	ul.circular_list{    height: 255px;}
	li.circular .date { padding: 7px 15px 5px;}
	#explore_rmk .content li {margin: 1em 20px 20px 0;}
	#whatsNewSlider .carousel-item, .carousel-content { min-height:200px;}
}
@media screen and (max-width: 580px) {
	#news_events article .content{min-height:100px;}
	#news_events article h3 {
		font: 500 18px roboto,sans-serif;
		margin-bottom: 0.35em;
	}
	header .social_links a.calendar_btn {
		margin:0;
	}
	header .social_links {
		font-size: 15px;
		padding:10px 10px 10px 10px;
	}	
	header .logo {
		width: 100px;
		background-size: 80px;
		height: 80px;
		margin: 10px 0 10px;
	}
	.social_links_group {  padding-right: 0;}
	header .social_links .no_list { margin: 0 15px 0 0;}
	header .social_links li {margin-right:10px;}
	header .social_links a.calendar_btn { font-size: 14px;}
	header .social_links a.calendar_btn i { font-size: 20px;}
	header .navbar-toggler {
		margin-top: 10px;
		margin-right: 15px;
		margin-bottom: 10px;
	}
	.alternate_section .content{padding: 20px;}
	.alternate_section .content h2 { font-size: 26px;}
	.col-md-7.no-padding.circular_column{    padding: 20px 20px 20px 20px !important;}
	h2.circular_column_title {  font-size: 30px;}
	ul.circular_list { max-width: 100%;}
	li.circular .date {
		font-size: 18px;
		margin: 0;
		border: none;
		border-bottom: 1px solid #cccccc;
		width: 100%;
	}
	ul.circular_list li {  flex-flow: wrap;}
	li.circular .ciru_info {
		padding: 10px;
		font-size: 15px;
	}
	#news_events {  padding: 2em 0 4em;}
	.col-6.col-md-3.col-sm-12 {
		width: 100%;
		max-width: 100%;
		flex: 1 0 100%;
		margin-bottom: 20px;
	}
	#blogSlider .col-md-3{
		flex: 1 0 100%;
		max-width: 100%;		
	}
	.fancybox-content {padding: 25px;}
	
}


/******** END MEDIA QUERY **********/













