/*
Theme Name: IFSA Inc.
Theme URI: 
Author: AKC
Author URI: http://wordpress.org/
Description: The Custom Template WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.clear { clear: both; }

.clearfix:before,
.clearfix:after {
  content: " "; 
    display: table; 
}
.col-md-7.copyright {
    padding-top: 15px;
}
.clearfix:after { clear: both; }
.page-id-9 #content .aligncenter {
    display: block;
    margin: auto;
    height: 144px;
}
.alignleft { 
  float: left;
  margin: 0 15px 15px 0; 
}

.alignright { 
  float: right;
  margin: 0 0 15px 15px; 
}

.aligncenter {
  display: block;
  margin: 15px auto;
}

a,
.gform_wrapper .gform_footer input[type="submit"] {
  color: #244A71;

  -o-transition: all .2s ease-in;
  -moz-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
}

a:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover {
  color: #264971;
  text-decoration: none;
  text-shadow: 2px 0px 0px white, 2px 2px 1px white, 0px 2px 1px white, -2px 2px 1px white, -2px 0px 1px white, -2px -2px 1px white, 0px -2px 1px white, 2px -2px 1px white, 2px 0px 1px white;
}

iframe { width: 100%; }

body {
  color: #244A71;
  background: #FDFDEF;
  font-family: 'Roboto';
}
ul, li {
font: 13px/146% Arial, Sans-serif;}

#header {
  padding: 10px 0;
  background: #FCFBE5;
  border-bottom: 1px solid #F1F0DB;
}

#header p { 
  margin: 0;
  font-size: 15px;
}

#header p big {
  display: block;
  font-size: 30px;
}
#bottom-contents p a:hover {
    text-decoration: none;
}

.navbar-default {
  margin-bottom: 0;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  background: url(images/nav.jpg) repeat-x;

  background-size: auto 100%;
}
a.loc {
    text-decoration: none;
}
.nav>li>a { 
  padding: 14px 35px; 
  color: #244A71 !important;
}

.navbar-default .navbar-nav>li>a:hover {
  background: #E7E7E7;
}

.navbar-default .navbar-nav>.current-menu-item>a {
  color: white !important;
  background: url(images/nav-active.jpg) repeat-x;

  background-size: auto 100%;
}

.navbar-default .navbar-nav>.current-menu-item>a:hover, 
.navbar-default .navbar-nav>.current-menu-item>a:focus {
	color: #264971 !important;
 	background: url(images/nav-active.jpg) repeat-x !important;

  	background-size: auto 100% !important;
}

#return-top{
    width: 50px;
    height: 50px;
    border: 1px solid transparent;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
    bottom: 45px;
    right: 60px;
    background-color: #244a71;
}
#return-top i {
    color: #fff;
    margin: 0;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#fixed-nav {
    width: 100%;
    max-width: 1908px;
    text-align: center;
    height: auto;
    padding: 0;
    z-index: 99;
    height: 75px;
    display: none;
    background: #fff;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
}

#fixed-nav ul{
    margin: auto;
    width: 100%;
    text-align: center;
}
#fixed-nav ul a{
    padding: 12px 18px;
}
#fixed-nav ul > li {
    padding: 30px 30px 0 30px;
    margin-top: 0;
}

#social {
  list-style: none;
  padding: 0 0 0 25px;
}

#social,
#social li {
  margin: 0;
}

#social,
#social li,
#social li a {
  display: inline-block;
}

#social li a {
  font: 0/0 a;
  width: 32px;
  height: 32px;
  margin: 7px 10px;
  vertical-align: middle;
}

#social li a[title="Facebook"] { background: transparent url(images/facebook.png); }
#social li a[title="Twitter"] { background: transparent url(images/twitter.png); }
#social li a[title="LinkedIn"] { background: transparent url(images/linkedin.png); }

/*ul.nav li.dropdown:hover ul.dropdown-menu { display: block; }*/

#banner { background: black url(images/banner.jpg) no-repeat center top; }

#banner .the-carousel-caption {
  color: white;
  padding: 15px;
  margin: 35px 20px;
  background: rgba(0, 0, 0, 0.60);
}

#banner .the-carousel-caption h2 {
  margin: 15px 0 20px;
  font: 40px 'GoudyBookletter';
  text-shadow: 1px 1px 1px black;
}

#banner .the-carousel-caption p {
  font-size: 17px;
  margin: 0 0 20px;
  text-shadow: 1px 1px 1px black;
}

#banner .the-carousel-caption p a.carousel-btn,
.gform_wrapper .gform_footer input[type="submit"] {
  color: white;
  padding: 5px 25px;
  display: inline-block;
  border: 2px solid white;
  font: bold 21px/40px 'Roboto';
  background: url(images/nav-active.jpg) repeat-x;

  background-size: auto 100%;

  box-shadow: 2px 2px 2px black;
  -o-box-shadow: 2px 2px 2px black;
  -ms-box-shadow: 2px 2px 2px black;
  -moz-box-shadow: 2px 2px 2px black;
  -webkit-box-shadow: 2px 2px 2px black;
}

#banner .the-carousel-caption p a.carousel-btn:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover {
  color: #264971;
	cursor: pointer;
}

#main {
	margin: 0 auto 20px;
}

#main #content h1,
#main #latest-posts h2 {
  color: #244A71;
  margin: 20px 0;
  font: 32px/110% 'GoudyBookletter';
}

ul#blog-list {
	list-style: none;
}

ul#blog-list li h4 {
	color: #264971;
	font-family: 'Roboto';
}

ul#blog-list li {
	padding: 15px 0 15px 30px;
	border-top: 1px solid #CCC;
	background: transparent url(images/icon-blog.png) no-repeat left 20px;
}

#main #content p,
ul#blog-list li {
  color: #1F1F1F;
margin: 0 0 10px;
  font: 13px/146% Arial, Sans-serif;
}

body.home #main #content p {   margin: 0 0 20px;}

#main #content p strong,
ul#blog-list li strong {
  color: black;
  font-weight: bold;
}

#main #content p a.read-more,
ul#blog-list li a {
  color: #244A71;
  padding: 0 10px;
  font-weight: bold;
}

#main #content a { color: #244A71; font-weight: bold;}
#main #content p a.read-more:hover,
ul#blog-list li a:hover {
  color: #244A71;
  text-shadow: none;
  text-decoration: underline;
}

#main #latest-posts {
  margin: 50px auto 20px;
}

.gform_footer {
  margin: 0;
  text-align: center;
}

body.home #sidebar {
  text-align: center;
  margin: -30px auto 20px;
}

body.page #sidebar {
	 text-align: center;
	 margin: 20px auto;
}

#sidebar .sidebar-container {
  padding: 3px;
  min-height: 400px;
  border: 2px solid #CCC;
  background: white url(images/gf_footer.png) repeat-x bottom;

  border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#sidebar .sidebar-container h3 {
  color: white;
  margin: 0 0 0px;
  text-align: center;
  background: #27527F;
  text-shadow: 2px 2px 2px black;
  font: 20px/40px 'GoudyBookletter';
}

#sidebar .sidebar-btn {
  width: 100%;
  display: block;
  margin: 30px auto 0;
}

#sidebar .sidebar-btn img {
  -webkit-transition: all 1s; /* For Safari 3.1 to 6.0 */
  transition: all 1s;
}

#sidebar .sidebar-btn:hover img {
  transform: scale(1.2);
}

#sponsors {
  padding: 15px 0;
  text-align: center;
  background: white url(images/sponsors.jpg) repeat-x top left;
}

#sponsors .sponsor {
  width: 10%;
  height: 60px;
  position: relative;
  display: inline-block;
}

#sponsors .sponsor img {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto auto;
  position: absolute;
  /*width: 90%;*/
  padding: 5px ;
}

#bottom-contents {
  color: white;
  padding: 15px;
  background: #244A71;
}

#bottom-contents p {
  color: #A5C4E0;
  font-size: 14px;
  margin: 15px 0 0;
}

#bottom-contents p a,
#bottom-contents p big a {
  color: white;
}

#bottom-contents p big a {
  font-size: 24px;
}

#bottom-contents p a:hover,
#bottom-contents p big a:hover {  
  color: #264971;
}

#bottom-contents #social {
  padding: 0;
  margin: 15px auto 0;
}

#bottom-contents #social li a[title="Facebook"] { background: transparent url(images/facebook-light.png); }
#bottom-contents #social li a[title="Twitter"] { background: transparent url(images/twitter-light.png); }
#bottom-contents #social li a[title="LinkedIn"] { background: transparent url(images/linkedin-light.png); }

#bottom-contents h4 {
  font: 21px 'GoudyBookletter';
}

#footer {
  color: #DDDDDD;
  padding: 10px 0;
  background: #18334E;
  font: 13px Arial, Sans-serif;
}

#footer span {
  padding: 0 5px;
}

#sponsors-carousel .carousel-control {
	color: #a6c3e1 !important
}

.carousel-inner {
    /*overflow: visible;*/
}

.carousel-control { 
  opacity: 1;
  width: auto !important; 
} 

.carousel-control:hover,
#sponsors-carousel .carousel-control:hover {
  color: #244a71 !important; 
}

#footer .menu {
  padding: 0;
  list-style: none;
  margin-top: 10px !important;
}

#footer .menu li { 
  display: inline; 
}

#footer .menu li:after {
  content: "|";
  font-family: 'Roboto';
}

#footer .menu li:last-child:after { 
  content: ""; 
}

#footer .menu li a {
  padding: 0 8px;
  color: #999 !important;
}

#footer .menu li a:hover,
#footer .menu li.current-menu-item a {
  text-shadow: none;
  color: white !important;
}

.gform_body {
	padding: 0 5px;
	color: #555;
	font: normal 14px Arial, sans-serif;
}

.gform_wrapper li, .gform_wrapper form li {
	margin: 0 0 10px;
}

.gform_wrapper ul.gfield_checkbox, .gform_wrapper ul.gfield_radio {
	padding: 0 0 0 30px !important;
}

.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
	margin: 0;
}

.gform_wrapper .gform_footer {
	margin: 0 !important;
	padding: 15px 20px !important;
}

.gform_wrapper .gform_footer input[type="submit"] {
	width: 100%;
	text-align: left !important;
	display: block !important;
	font: bold 16px/30px 'Roboto';

	box-shadow: none;
	-o-box-shadow: none;
	-ms-box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#contact-page-info,
#contact-page-form-container {
	background: #DDD;
	padding: 15px;

	border-radius: 15px;
	-o-border-radius: 15px;
	-ms-border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}

/* 11 24 2017 */
#sponsors #sponsorSlider {
    min-height: 95px !important;
    display: flex;
    align-items: center;
}

#sponsors #sponsorSlider li a {
  display: table;
  margin: auto;
}

.lSAction>a {
    background-image: none !important;
    font-size: 2em;
}

/********** Responsive ***********/

.sponsors-scode {
    padding-top: 20px;
}

.sponsors-scode li {
    margin-bottom: 20px;
}
#hartford {
      height: 75px;
    width: 85px;
}

/* 11 22 2017 */
#mg-wprm-wrap ul#wprmenu_menu_ul li.menu-item a:hover {
    text-shadow: none;
}

@media (max-width: 1024px){
  .nav>li>a {
    padding: 14px 20px;
  }
}

@media (max-width: 768px) {
	#social {
    padding: 0;
    text-align: center;
    display: block;
	}
  
  body.home #sidebar {
    text-align: center;
	}
  
  #sidebar .sidebar-btn {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    padding: 0 15px;
	}
}

@media (max-width: 736px) {
  #header .Logo {
    margin: auto;
	}
  #header .text-right {
    text-align: center;
	}
  #banner {
    background-size: cover;
  }
  #footer .menu {
    text-align: center;
	}
  #footer .text-right {
    text-align: center;
	}
  ul#blog-list {
    padding: 0;
  }
  #main #content a {
    display: block;
	}
}

@media (max-width: 414px){
  .gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password] {
    border-width: 2px;
    border-style: solid;
}
}