/**
 * Theme Name: IACIS
 * Author: All Pro Webworks, LLC.
 * Author URI: http://www.allprowebworks.com
 * Template: modality
 */

#footer-box .sidebar-footer:first-child {
	width:40%;
}
#footer-box .sidebar-footer:first-child > div {
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-align-items: flex-start; /* Safari */
  align-items:         flex-start;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
}
#footer-box .sidebar-footer:first-child > div > .footer-widget-col {
	width:50%;
	margin-top:0 !important;
}

#footer-box .sidebar-footer {
	width:20%;
}
#footer-box .sidebar-footer img {
	max-height:116px;
	width:auto;
}

@media screen and (max-width:768px) {
	#footer-box .sidebar-footer {
		margin-bottom:25px !important;
	}
}


@media only screen and (max-width:500px) {
	div[class^="ecwd-page-"].ecwd_calendar  .ecwd-list-date.resp, div[class^="ecwd-page-"].ecwd_calendar  .ecwd-week-date.resp {
		display:none;
	}
	div[class^="ecwd-page-"].ecwd_calendar .event-main-content {
		width:100%;
	}
}


h1.post-196 {
	display:none;
}


.iacis-btn, body div#n2-ss-4 .nextend-smartslider-button-container a[class*="n2-style-"] {
	display:inline-block;
	vertical-align:middle;
	font-family: 'Montserrat','Arial';
	color: #fff;
	line-height: 1.5;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	text-align: center;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	
	opacity: 1;
	padding:0.25em 1em;
	
	text-shadow: 2px 2px 2px #133F8C;

	-webkit-box-shadow:0 5px 7px -2px rgba(0,0,0,0.5);
	-moz-box-shadow:0 5px 7px -2px rgba(0,0,0,0.5);
	box-shadow:0 5px 7px -2px rgba(0,0,0,0.5);
		
	border-radius: 50px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border: 1px solid #133F8C;
		
	background: rgba(33,184,243,1);
	background: -moz-linear-gradient(top, rgba(33,184,243,1) 0%, rgba(12,82,203,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(33,184,243,1)), color-stop(100%, rgba(12,82,203,1)));
	background: -webkit-linear-gradient(top, rgba(33,184,243,1) 0%, rgba(12,82,203,1) 100%);
	background: -o-linear-gradient(top, rgba(33,184,243,1) 0%, rgba(12,82,203,1) 100%);
	background: -ms-linear-gradient(top, rgba(33,184,243,1) 0%, rgba(12,82,203,1) 100%);
	background: linear-gradient(to bottom, rgba(33,184,243,1) 0%, rgba(12,82,203,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#21b8f3', endColorstr='#0c52cb', GradientType=0 );
}
.iacis-btn:hover, .iacis-btn:active, .iacis-btn:focus, body div#n2-ss-4 .nextend-smartslider-button-container a[class*="n2-style-"]:hover {
	background:rgba(12,82,203,1);
	color:white;
}

.iacis-headline-cols {
	padding-top:45px;
	padding-bottom:45px;
}
.iacis-headline-cols .sow-headline {
	padding-top:0;
}
.iacis-headline-cols .widget_sp_image-description {
	margin-top:10px;
	padding:0.5em 0;
	text-align:center;
}
.iacis-headline-cols .widget_sp_image-description p {
	margin-bottom:0;
	font-size:15px;
}
.iacis-headline-cols .widget_sow-headline {
	margin-bottom:10px;
}

/* header logo */

@media only screen and (max-width: 1160px) {
	#logo {
		width: 100% !important;
    	margin: 0 !important;
    	padding: 0 !important;
    	text-align: center;
	}
	.navbar ul#menu-top-menu {
		width: 100%;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
}

/* mobile logo */

@media only screen and (max-width: 768px) {
	body #logo {
/* 		width: 150px !important; */
		margin: 0 auto !important;
		float: unset;
	}
}

body #logo a img {
	width: 130px !important;
}

/* header */

@media only screen and (min-width: 768px) {
	#header-wrap {
		padding: 0 10px;
	}
}

/* mobile navbar/menu */

@media only screen and (max-width: 767px) {
	body .navbar-toggle {
		position: absolute;
    	top: 0;
    	right: 0;
	}
}

/* header menu */

body .nav > li > a {
	padding: 10px 12px;
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
	body #navbar ul li a {
		font-size: 12px;
	}
	body .nav > li > a {
		padding: 10px 7px;
	}
	.navbar ul {
		width: 739px;
		margin: 0 auto;
		float: unset;
	}
}
@media only screen and (min-width: 901px) and (max-width: 1000px) {
/* 	body #navbar ul li a {
		font-size: 12px;
	} */
	body .nav > li > a {
		padding: 10px 10px;
	}
	.navbar ul {
		width: 836px;
		margin: 0 auto;
		float: unset;
	}
}
@media only screen and (min-width: 1001px) and (max-width: 1024px) {
	.navbar ul {
		width: 916px;
		margin: 0 auto;
		float: unset;
	}
}

/* body fix to not have header menu overlap content */

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	#post-body {
		padding-top: 65px;
	}
}

/* content box margin */

body #content-box {
	margin: 0 auto !important;
}

/* Board of Directors page */

@media only screen and (max-width: 425px) {
	body .iacis-members .thumb-wrapper {
		width: 100%;
		margin: 0 auto 20px auto;
		text-align: center;
	}
}

/* pages with sidebars */

@media only screen and (max-width: 768px) {
	.col2-l #content-box {
		float: unset;
	}
}

/* .page-id-533 {
	
} */

body .iacis_member .thumb-wrapper {
	float: none;
    margin-right: 0;
    text-align: center;
}

.iacis_member h2 {
	text-align: center;
}


body .iacis-member-profile-left,
body .iacis_member .iacis-member-email {
	width: 100%;
	float: unset;
	text-align: center;
}
@media only screen and (min-width: 768px) {
	body .iacis-member-profile-left,
	body .iacis_member .iacis-member-email {
		width: 100%;
		float: unset;
		text-align: center;
	}
}