/*==========  Global  ==========*/
html {
	width: 100%;
	font-size: 14px;
}
body {
	min-height: 100%;
	width: 100%;
	margin: 0;
	font-family: 'Open Sans', Helvetica, sans serif;
	overflow-x: hidden;
	background-color: rgba(236,240,241,1);
	box-shadow:inset 25px 25px 125px rgba(0,0,0,0.3);
}
img {
	max-width: 100%;
}

td{
	padding: 10px;
}

h1,
h2,
h3,
h4,
h5
h6 {
	text-align: left;
}

h4{
		color: #f00;
		font-size: 24px;
}

a {
	color: #c9372d;
}
a:visited {
	color: #c9372d;
}
a:hover {
	text-decoration: none;
	color: #c9372d;
}
.container {
	padding: 0px;
	background: rgba(255,255,255,1);
}
#header_div {
	position:relative;
	top:-140px;
}
#header_image {
	height: 300px !important;
	min-height: 300px !important;
	width: auto;
	max-width: 100%;
	left: 0px;
}
#rams-logo {
	width: 100%;
	position: absolute;
	z-index: 10;
}
#social_header {
	display: inline-block;
	float: right;
	margin-top: -20px;
	margin-right: 20px;
	padding: 0px 10px;
	width: 300px;
}
#social_header > h3 {
	text-align: center;
}
#social_header > img {
	margin-left: -15px;
}
#rams-menu {
	margin-bottom: 0px;
	background: #444;
	border: none;
	border-radius: 0px;
}
#menu-rams-menu {
	margin-left: 120px;
}
#menu-rams-menu > li > a {
	color: rgba(255,255,255,1);
	text-transform: uppercase;
	font-weight: bolder;
}
#menu-rams-menu > li > a:hover,
#menu-rams-menu > li > a:focus,
#menu-rams-menu > .active > a {
	background-image: none;
	background: rgba(255,255,255,1);
	box-shadow: none;
	color: #444;
}
#content {
	height: auto;
	background: rgba(255,255,255,1);
	padding: 20px 40px 0px 40px;
}
#left_content {
	background: rgba(255,255,255,1);
	text-align: justify;
	padding-left: 0px;
	padding-bottom: 40px;
}
#right_content {
	background: rgba(255,255,255,1);
	padding-right: 0px;
	padding-bottom: 40px;
}
#blog_sidebar_div {
	margin-bottom: 40px;
}
.calendar_list {
	list-style-type: none;
	padding-left: 0px;
}
.calendar_item {
	color: #c9372d;
	font-size: 16px;
}
.widgettitle {
	width:100%;
	font-size: 18px;
	color: #c9372d;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom:5px;
}
.widget > ul {
	padding-left: 15px;
}
.widget > ul > li > a {
	color: #444;
}
.btn-primary {
	background: #c9372d;
	color: #FFF;
	border: none;
	border-radius: 0px;
	width: 80px;
	height: 40px;
}
.btn-primary:hover {
	background: #c9372d;
	color: rgba(255,255,255,0.8);
}
.primary-red {
	width: 100%;
	height: 50px;
	border-radius: 0px;
	border: none;
	background: #c9372d;
	color: #FFF;
	font-size: 16px;
}
.primary-red:hover {
	color: rgba(255,255,255,0.8);
}
.form-control:focus {
	border-color: #c9372d;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #c9372d;
	outline: 0 none;
}
.screen-reader-response {
	font-weight: bolder;
	color: #c9372d;
	margin: 10px 0px;
}
.wpcf7-mail-sent-ok {
	display: none;
}
#slideshow { 
	margin: 150px auto 50px auto; 
	position: relative; 
	width: 100%;
	height: 300px; 
	padding: 10px;
}

#slideshow > div { 
	position: absolute; 
	width: 100%;
	top: 120px; 
	left: 0px; 
	right: 0px; 
	bottom: 0px; 
}
#slideshow > div > img {
	width: 100%;
}
#slideshow > div > p {
	position: absolute;
	top: 340px;
	text-align: left;
	padding-left: 20px;
	color: #FFF;
}
.wp-caption-text {
	text-align: left;
}
.footer {
	clear: both;
	position: relative;
	display: inline-block;
	bottom: 0;
	min-height: fit-content;
	width: 100%;
	background: #666;
	color: #FFF;
	text-align: center;
	padding: 10px 20px;
	z-index: 999;
	border: 1px solid rgba(0,0,0,0.1);
}
.footer > a {
	color: #FFF;
}
.footer_link {
	color: #FFF;
}
.footer_link:hover, .footer_link:active, .footer_link:focus {
	color: #FFF;
}
#footer_center {
	text-align: center;
}
#footer_center > img {
	margin: 0px auto;
}
#menu-rams-menu-footer {
	float: none;
	width: 100%;
	margin: 0px auto;
	padding-left: 0px;
	text-align: center;
}
#menu-rams-menu-footer > li {
	display: inline-block;
	list-style-type: none;
	padding: 0px 5px 0px 5px;
}
#menu-rams-menu-footer > li > a {
	font-size: 16px;
	color: #FFF;
}
.dropdown-menu {
        border-radius: 0px;
        padding: 0px !important;
}
.dropdown-menu > li {
        height: 50px;
        background: #fff;
}
.dropdown-menu > li > a {
        height: 50px;
        background: #fff;
        padding-top: 12px;
        font-weight: bolder;
        text-transform: uppercase;
}
.dropdown-menu > li > a:active {
        height: 50px;
        background: #eee;
}
.dropdown-menu > li > a:hover {
        height: 50px;
        background: #eee;       
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
        height: 50px;
        background: #eee;
        color: #444;
        font-weight: bolder;
        text-transform: uppercase;    
}
@media screen and (max-width:1200px) {
	#menu-rams-menu {
		margin-left: 70px;
	}
	#left_content {
		padding-bottom: 40px;
		border-bottom: 1px solid rgba(100,100,100,0.3);
	}
	#right_content {
		margin-top: 20px;
	}
	#slideshow > div { 
		top: 140px;
	}
	#slideshow > div > p {
		top: 320px;
	}
}
@media screen and (max-width:992px) {
	#menu-rams-menu {
		margin-left: 0px;
	}
	#menu-rams-menu > li > a {
		font-size: 12px;
	}
	#content {
		padding: 20px;
	}
	#left_content,
	#right_content {
		padding: 0px;
	}
	#left_content {
		padding-bottom: 40px;
		border-bottom: 1px solid rgba(100,100,100,0.3);
	}
	#right_content {
		margin-top: 20px;
	}
	#slideshow {
		height: 205px; 
	}
	#slideshow > div { 
		top: 120px;
	}
	#slideshow > div > p {
		top: 245px;
	}
	#social_header > h3 {
		text-align: right;
	}
}
@media screen and (max-width:768px) {
	#navbar {
		padding: 0px;
	}
	#menu-rams-menu {
		margin: 0px;
		overflow-x: hidden;
		width: 100%;
		border-bottom: 1px solid #444;
	}
	#rams-logo {
		margin-bottom: 100px;
		height: 50px !important;
	}
	#social_header {
		float: none;
		position: absolute;
		left: 10px;
		top: 70px;
	}
}
@media screen and (max-width:767px) {
	#menu-rams-menu > li > a {
		font-size: 14px;
	}
	#rams-menu.navbar-default .navbar-toggle {
		border: none;
	}
	#rams-menu.navbar-default .navbar-toggle:hover,
	#rams-menu.navbar-default .navbar-toggle:focus {
		background-image: none;
		background-color: transparent;
	}
	#rams-menu.navbar-default .navbar-toggle .icon-bar {
		background-color: #FFF;
		box-shadow:inset 2px 3px 3px rgba(80,80,80,0.3);
		width: 35px;
		height: 5px;
	}
	#slideshow {
		height: 345px; 
		margin-bottom: 20px;
	}
	#slideshow > div { 
		position: absolute;
		top: 160px;
		height: 345px;
		min-height: 345px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > img {
		height: 345px;
		min-height: 345px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > p {
		top: 310px;
	}
	#social_header > h3 {
		text-align: left;
	}
        .dropdown-menu {
        	border-radius: 0px;
        	padding: 0px !important;
	}
	.dropdown-menu > li {
	        height: 40px;
	        background: #fff;
	}
	.dropdown-menu > li > a {
	        height: 40px;
	        background: #fff;
	        padding-top: 8px;
	}
	.dropdown-menu > li > a:active {
	        height: 40px;
	        background: #c9302d;
	}
	.dropdown-menu > li > a:hover {
	        height: 40px;
	        background: #eee;       
	}
	.navbar .navbar-nav .open .dropdown-menu > .active > a, .navbar .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar .navbar-nav .open .dropdown-menu > .active > a:hover {
	        height: 40px;
	        background: #c9302d;
                padding-top: 8px;
                font-weight: bolder;
        	text-transform: uppercase;  
	}
}
@media screen and (max-width:600px) {
	#slideshow {
		height: 245px; 
		margin-bottom: 20px;
	}
	#slideshow > div { 
		position: absolute;
		top: 160px;
		height: 245px;
		min-height: 245px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > img {
		height: 245px;
		min-height: 245px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > p {
		top: 210px;
	}
}
@media screen and (max-width:540px) {
	#social_header {
		top: 55px;
	}
	#rams-logo {
		margin-bottom: 90px;
	}
	.header_image {
		height:150px;
		width: 100%;
	}
	#slideshow {
		height: 180px; 
		margin-bottom: 0px;
	}
	#slideshow > div { 
		position: absolute;
		top: 140px;
		height: 180px;
		min-height: 180px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > img {
		height: 180px;
		min-height: 180px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > p {
		top: 150px;
	}
}
@media screen and (max-width:414px) {
	#content {
		padding: 10px;
	}
	#social_header {
		top: 50px;
	}
	#rams-logo {
		margin-bottom: 70px;
	}
	.header_image {
		height:120px;
		width: 100%;
	}
	#slideshow > div > p {
		font-size: 12px;
		padding-left: 10px;
	}
}
@media screen and (max-width:360px) {
	#social_header {
		top: 40px;
	}
	#rams-logo {
		margin-bottom: 50px;
	}
	#left_content {
		padding-bottom: 20px;
	}
	#right_content {
		margin-top: 0px;
	}
	#slideshow {
		height: 175px; 
		margin-bottom: 0px;
	}
	#slideshow > div { 
		position: absolute;
		top: 140px;
		height: 175px;
		min-height: 175px;
		margin: 0px;
		overflow: hidden;
	}
	#slideshow > div > img {
		height: 175px;
		min-height: 175px;
		margin: 0px;
		overflow: hidden;
	}
}


@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
	table, table thead, table tbody, table th, table td, table tr {
    		display: block;
	}
	table thead tr {
    		left: -9999px;
    		position: absolute;
    		top: -9999px;
	}
	table td {
    		-moz-border-bottom-colors: none;
    		-moz-border-left-colors: none;
    		-moz-border-right-colors: none;
    		-moz-border-top-colors: none;
    		border-image: none;
    		padding-left: 0px;
    		position: relative;
	}
	tr td:nth-child(1) {
 		padding-top: 30px;
	}
	tr td:nth-child(2) {
  		border-bottom: 1px solid #eee;
		padding-top: 0px;
		padding-bottom: 10px;	
        }
	table td::before {
    		left: 6px;
    		padding-right: 10px;
    		position: absolute;
    		top: 6px;
    		white-space: nowrap;
    		width: 45%;
	}
}

/***** Wordpress Core Style *****/
.alignleft {
	float: left;
	margin: 10px;
}

.alignright {
	text-align: center;
	margin: 10px;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 10px auto 10px auto;
}




.panel,
.panelHeight{
	height: 380px;
	margin-bottom: 10px;
}

.panelBoardHeight{
	height: 400px;
	margin-bottom: 10px;
}

.insideBoardBox{
	height: 500px;
	display: inline-block;
	float: none;
	vertical-align: middle;
}

.panel-board-title{
	font-size: 14pt;
	font-weight: bold;
}

.item_image{
	max-height: 235px;
}

.panel-heading{
	height: 57px;
}
.insideBox{
	/*border: 1px solid green;*/
	height: 300px;
	display: inline-block;
	width: 215px;
	float: none;
	vertical-align: middle;
}