/*
 Theme Name:   MIDC
 Theme URI:    http://elefant.design
 Description:  This is a child theme of Enfold
 Author:       Elefant
 Author URI:   http://elefant.design
 Template:     enfold
 Version:      1.0.0
*/

/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

/* TWITTER */
#twitter-band .tp_recent_tweets {
	color:#fff;
}
#twitter-band .tp_recent_tweets li span {
	font-size:18px;
	line-height:1.5em;
}
#twitter-band .tp_recent_tweets a {
	color:#88bbc8;
}
.tp_recent_tweets li {
	background-image:none;
}
#tp_widget_recent_tweets-2 {
	max-width:600px;
	margin:0 auto;
}
#tp_widget_recent_tweets-2 li::before {
	content:'';
	width:50px;
	height:50px;
	background-image:url(img/midc-icon-twitter.png);
	background-repeat:no-repeat;
	position:absolute;
	left:-50px;
	top:50px;
	
}

/* News modules */

.news-thumb.no-news-thumb {
	display:none;
}

.news-headline {
	font-size:14px;
}

.news-time,
.tribe-events-list-widget .duration {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5em;
} 


#footer .news-headline,
#footer .tribe-events-list-widget h4 a {
	color:#ffffff;
}

#footer .tribe-events-list-widget .duration {
	color:#20586e;
	}

.tribe-events-list-widget ol {
	margin-left:0px;
}

.tribe-events-list-widget ol h4 {
    font-size: 14px;
}

.tribe-events-list-widget ol li {
    list-style: outside none none;
    margin-bottom: 13px;
}

.tribe-events-list-widget h3 {
	margin-bottom:18px;
}


/* Tooltip */

.tooltip {outline:none; }
.tooltip strong {line-height:30px;}
.tooltip:hover {text-decoration:none;} 
.tooltip span {
    z-index:10;
	display:none; 
	padding:14px 20px;
    margin-top:-80px; 
	margin-left:-100px;
    width:300px; 
	font-size:12px;
	line-height:18px;
	text-align:left;
	-webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}
.tooltip:hover span{
    display:inline; 
	position:absolute; 
	color:#333;
	background:rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
	-webkit-transform: translate(2em,0);
    -moz-transform: translate(2em,0);
    -o-transform: translate(2em,0);
    -ms-transform: translate(2em,0);
    transform: translate(0,-2em);
	
	}
    
/*CSS3 extras*/
.tooltip span
{
    border-radius:0px;
    /*box-shadow: 0px 0px 8px #000;*/
}

.tooltip span:before { 
	content:""; 
	position: absolute; 
	top: 100%; 
	left: 26px; 
	width: 0; 
	height: 0; 
	border-right: 13px solid transparent; 
	border-top: 13px solid rgba(255, 255, 255, 0.8);
	border-left: 13px solid transparent; 
	 }


#footer section {
	overflow:visible !important;
}
/*
#footer .container .first {
	z-index:2;
}*/



/* Link Tooltip - Leaving .gov */




a.tooltips:hover {text-decoration:none;} 
a.tooltips span {
    z-index:10;
	display:none; 
	padding:14px 20px;
    margin-top:-80px; 
	margin-left:-100px;
    width:300px; 
	font-size:12px;
	line-height:18px;
	text-align:left;
	-webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}
a.tooltips:hover:before{
    z-index:10;
	padding:14px 20px;
    top:-72px; 
	left:0px;
    width:200px; 
	position:absolute;
	font-size:12px;
	line-height:18px;
	text-align:left;
	content:'By clicking this link you will be leaving michiganidc.gov';
	background:rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
	}
    
a.tooltips
{
    display:inline;
	position:relative;
}

a.tooltips:hover:after { 
	content:""; 
	position: absolute; 
	top: -8px; 
	left: 10%; 
	width: 0; 
	height: 0; 
	border-right: 13px solid transparent; 
	border-top: 10px solid rgba(0, 0, 0, 0.8);
	border-left: 13px solid transparent; 
	 }







/* General content */

div .main_color .tabcontainer .active_tab_content, div .main_color .tabcontainer .active_tab {
	overflow:visible;
}

.tab_titles {
	z-index:3;
}

blockquote {
    font-size: 1.3em;
	margin-bottom: 1.3em;
}

p {
    margin: 1.5em 0;
}


form p {
	margin-bottom:0px !important;
	margin-top:10px !important;
} 

div .av_one_fifth {
    margin-left: 3%;
    width: 17.5%;
}

#footer .social_bookmarks a {
	font-size:16px;
}

/* Buttons */

#top .avia-button.avia-color-light {
    border: 0 solid #fff;
}

#top .avia-slideshow-button {
	margin-top:2px;
	border-radius:0px;
}

body .container_wrap .avia-builder-el-first  {
	padding-bottom:0px !important;
}


#top #searchsubmit {
    height: 41px;
}


.js_active .tab {
	font-size:15px;
}

/* RECENT ARTICLES */
.recent-articles {
	padding:0;
	width:100%;
	float:left;
}


.recent-articles ul {
	margin-left:0px;
}
.recent-articles li {
	width:30%;
	display:inline-block;
	margin-right:20px;
	vertical-align:top;
}

.recent-articles h3 {
	border-bottom:1px dotted #ACACAC;
	padding-bottom:15px;
	margin-bottom:15px;
	display:block;
}

.recent-articles .article-date {
	font-size:.8em;
	color:#A7A7A7;
}

.recent-articles .article-title {
	line-height:1.3em;
	font-size:15px;
	font-weight:bold;
	color:#373737;
}

.recent-articles .article-content {
	line-height:1.3em;
	font-size:14px;
	color:#777777;
}

/* PROFILE PAGES */

ul.staff-list li {
	width:23%;
	float:left;
	list-style:none;
	border-bottom:1px dotted #ccc;
	min-height:320px;
	margin-bottom:15px;
}

ul.staff-list li h5 {
	color: #ababab;
    font-size: 0.9em;
    line-height: 1.5em;
}

.staff-text {
	min-height: 70px;
}

.staff-container + p {
	display:none;
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
  
  
  #footer .container .first {
	  text-align:center;
	  padding-top:5%;
  }
}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
   .copyright a {
	  display:none;
  }
  .avia-slideshow li img {
    border-radius: 3px;
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-width: inherit;
    width: 1000px !important;
}
#tp_widget_recent_tweets-2 li::before {
	left:0px;
	
}
#tp_widget_recent_tweets-2 li {
	padding-left:50px;
	
}
}

@media only screen and (max-width: 990px) {

.slideshow_caption {
    bottom: 0;
    display: block;
    height: 100%;
    padding: 50px;
    position: absolute;
    text-decoration: none;
    top: auto;
    width: 100%;
    z-index: 100;
}
}