﻿/* Generic Styles */
#wp-image-slider h2, #HomeMiddleContent h2, #HomeMiddleContent h2 a:link, #HomeMiddleContent h2 a:visited { color: #333 !important; font-size: 1em; margin-top: 5px; margin-bottom: 5px; }
#HomeMiddleContent h2 a:link 
#wp-image-slider h2 a:link { text-decoration: underline; }
#HomeMiddleContent .tabs .tabs-toggle a:link,
#HomeMiddleContent .tabs .tabs-toggle a:visited { color: #222 !important; text-decoration: none !important; }
#HomeMiddleContent #wp-tabs, #HomeMiddleContent #wp-tabs > table
#HomeMiddleContent #wp-features, #HomeMiddleContent #wp-features > table,
#HomeMiddleContent #wp-videos, #HomeMiddleContent #wp-videos > table,
#HomeMiddleContent #wp-news, #HomeMiddleContent wp-news > table,
#HomeMiddleContent #wp-digitized-images, #HomeMiddleContent #wp-digitized-images > table { margin-bottom: 0; }
#HomeMiddleContent > #HomeMiddleContent-in > #cont > .col-md-8 { margin-bottom: 0; }
#HomeSidebar { margin-left: -15px; } 


/* LAC Tabs */
#wp-tabs .lac-tabs.wb-tabs > ul { overflow: hidden; padding-right: 2px; margin-left: 0px; border-bottom: none !important; }
#wp-tabs .lac-tabs.wb-tabs > ul > li[role="presentation"] { max-width: 194px !important; vertical-align: bottom; left: 0; }
#wp-tabs .lac-tabs.wb-tabs > ul > li[role="presentation"] a:link,
#wp-tabs .lac-tabs.wb-tabs > ul > li[role="presentation"] a:visited { height: 45px; color: #000 !important; font-family: inherit; font-size: small; font-weight: bold; padding-top: 5px; padding-left: 7px; padding-right: 7px; padding-bottom: 8px; display: block; text-decoration: none !important; background: #7FAB52; }
#wp-tabs .lac-tabs.wb-tabs > ul > li[role="presentation"].active a:link,
#wp-tabs .lac-tabs.wb-tabs > ul > li[role="presentation"].active a:visited { color: #222 !important; background: #EFF5EB; }
#wp-tabs .lac-tabs.wb-tabs > .tabpanels > details, .wb-tabs > details { padding: 6px 0; border: 0px none; }
#wp-tabs .lac-tabs.wb-tabs > .tabpanels { margin-top: -1px; padding: 10px 30px !important; border: solid 1px #8cb364 !important; background: #eff5eb; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-top-right-radius: 5px; }
#wp-tabs .lac-tabs.wb-tabs details > .tgl-panel { margin-left: 0; margin-right: auto; }
#wp-tabs .lac-tabs .tabpanels .tab-column { width: 29.333333333333% !important; overflow: hidden; float: left; margin: 0 2%; }
#wp-tabs .lac-tabs.wb-tabs .tabpanels .tab-link {overflow: hidden; margin-bottom: 8px; }
#wp-tabs .lac-tabs.wb-tabs .tabpanels .tab-link > a {text-decoration: underline; font-size: 0.8em; }
#wp-tabs .lac-tabs .tabpanels .tab-column a:link,
#wp-tabs .lac-tabs .tabpanels .tab-column a:visited { float: left; color: #000 !important; outline: none; border: transparent 1px dotted; }
#wp-tabs .lac-tabs .tabpanels .tab-column a:last-child { margin-bottom: 0; }

/* LAC Spotlight */
#wp-news #lac-spotlight figure { position: relative; }
#wp-news #lac-spotlight figcaption { font-size: 0.9em; line-height: 1em; position: absolute; background-color: #222; width: 100%; color: #fff; bottom: 0px; padding: 0.5em 1em; }
#wp-news #lac-spotlight figure img { height: 100%; max-height: 100%; max-width: 100%; }
#wp-news #lac-spotlight figcaption p { margin: 0; }

@media (max-width: 992px) { 
  #wp-news #lac-spotlight { margin-bottom: 15px; }
  #wp-news #lac-spotlight figure img { height: auto; width:100%; }
}


/* LAC Digitized Images */
#wp-digitized-images .wb-tabs { background: none; padding-bottom: 2.5em; }
#wp-digitized-images li.control { font-size: 0.5em; }
#wp-digitized-images figure { position: relative; }
#wp-digitized-images figcaption { font-size: 0.9em; line-height: 1em; position: absolute; background-color: #222; }
#wp-digitized-images figure img { height: 100%; max-height: 100%; max-width: 100%; }
#wp-digitized-images .wb-tabs.carousel-s2 [role="tablist"] li.plypause a { margin-top: 0.7em; padding-top: 5px; }

@media (min-width: 992px) { 
    #wp-digitized-images figure, #wp-news #lac-spotlight figure { height: 248px; }
    #wp-news #lac-spotlight figure img { width: 100%; }
}

@media (min-width: 1200px) {
  #wp-digitized-images figure, #wp-news #lac-spotlight figure { height: 303px; }
}


/* LAC News */
#HomeSidebar .lac-news { overflow: hidden; height: 193px !important; font-size: 0.8em !important; padding: 24px 7px; margin: 0 !important; border: solid 1px #28618c; background: #e9eff3; border-radius: 5px; }
@media screen\0 {  #HomeSidebar .lac-news { height: 218px; } } /* IE adjustments */
#HomeSidebar .lac-news-title { margin-top: 22px; }
#HomeSidebar .lac-news ul li a { font-weight: bold; }
#HomeSidebar .lac-news ul li .lac-date { padding-bottom: 5px; }
#HomeSidebar .lac-news-up { float: left; padding: 9px 5px; position: absolute; left: 50%; margin-left: -16px; margin-top: -16px; border-radius: 25px; border: #fff 3px solid; background: #28618c; }
#HomeSidebar .lac-news-down { float: left; padding: 9px 5px; position: absolute; left: 50%; margin-left: -16px; margin-top: -16px; border-radius: 25px; border: #fff 3px solid; background: #28618c; }
#HomeSidebar .lac-news-up img,
#HomeSidebar .lac-news-down img { display: block; margin: 0; }
#HomeSidebar .lac-news .caroufredsel_wrapper { width: 100% !important; }
#HomeSidebar .lac-news .caroufredsel_wrapper ul { padding: 0; list-style-type: none; width: 100% !important; }

@media (min-width: 992px) { 
  #HomeSidebar .lac-news { width: 230px; }
}

@media (min-width: 1200px) {
  #HomeSidebar .lac-news { width: 280px; }
}

/* LAC Videos */
#wp-videos .lac-videos { overflow: hidden; list-style-type: none; padding: 7px; margin: 0; border: solid 1px #28618c; background: #e9eff3; border-radius: 5px; }
#wp-videos .lac-videos .lac-videos-item { overflow: hidden; float: left; margin: 5px 0 1px; text-align: center; padding: 0 0 0 5px; }
#wp-videos .lac-videos .lac-videos-item a { display: inline-block; position: relative; max-width: 100%; }
#wp-videos .lac-videos .lac-videos-item a .lac-videos-inner-thumbnail { position: relative; }
#wp-videos .lac-videos .lac-videos-item a img.lac-thumbnail { border: 1px #28618c solid; display: block; margin-bottom: 0; }
#wp-videos .lac-videos .lac-videos-item a img.lac-play { width: 32px !important; height: 32px !important; opacity: 0.9; position: absolute; top: 50%; left: 50%; margin: -16px 0 0 -16px !important; display: block; }
#wp-videos .lac-videos .lac-videos-item .lac-caption { width: 100%; text-align: left; }
#wp-videos .lac-videos .lac-videos-item .lac-caption p { font-size: 0.8em; line-height: 1em; padding: 5px; margin: 0; }


/* LAC Features */
#wp-features { margin-top: 20px; }
#wp-features .lac-features-title { margin: 0; }
#wp-features .lac-features { overflow: hidden; list-style-type: none; padding: 7px; margin: 0; border: solid 1px #28618c; background: #e9eff3; border-radius: 5px; }
#wp-features .lac-features .lac-features-item { overflow: hidden; float: left; margin: 5px 0 1px; text-align: center; padding: 0 5px; }
#wp-features .lac-features .lac-features-item a { display: inline-block; position: relative; }
#wp-features .lac-features .lac-features-item a img { border: 1px #28618c solid; height: 110px; width: 100%; display: block; margin-bottom: 0; }
#wp-features .lac-features .lac-features-item .lac-caption { width: 100%; text-align: left; }
#wp-features .lac-features .lac-features-item .lac-caption p { font-size: 0.8em; line-height: 1em; padding: 5px; margin: 0; }


/* LAC Social Media */
#HomeSidebar .lac-social-media { overflow: hidden; list-style-type: none; margin: 0; padding-left: 0; }
#HomeSidebar .lac-social-media li { float: left; margin-right: 5px; }
#HomeSidebar .lac-social-media li:last-child { margin-right: 0; }
#HomeSidebar .lac-social-media li a img { width: 24px !important; height: 24px !important; display: block; margin: 0; }

/* LAC Priorities */
#HomeSidebar .lac-priorities { overflow: hidden; list-style-type: none; margin: 0; }
#HomeSidebar .lac-priorities li { margin-bottom: 1px; }
#HomeSidebar .lac-priorities li img { display: block; margin: 0; width: 100%; padding-right: 5px; }
#HomeSidebar .lac-priorities li:last-child { margin-bottom: 0; }
#HomeSidebar .lac-priorities-title { margin: 0px; padding-bottom: 5px; }

@media (min-width: 992px) { 
  #HomeSidebar .lac-priorities li img  { width: 235px; }
}

@media (min-width: 1200px) {
  #HomeSidebar .lac-priorities li img  { width: 100%; padding-right: 5px; }
}


/* LAC Twitter */
#twitter-feed > section { border:0 none; font-size: 0.8em; margin-bottom: 0; }

@media (max-width: 1200px) { 
  #twitter-feed > section { width: 230px; }
}

/* MOBILE VIEW Adjustments */
@media (max-width: 992px) {
    #HomeSidebar { margin-left: 0; }

    #wp-digitized-images .wb-tabs { padding-bottom: 3.5em; }
    #wp-digitized-images li.control { font-size: 0.8em; }
    #wp-digitized-images > table { margin-left: auto; margin-right: auto; width: auto; }
    #wp-digitized-images figure img { height: 400px; }
    #wp-digitized-images figcaption, #wp-news #lac-spotlight figcaption { font-size: 1.2em; line-height: 1.1em; }

    #twitter-feed > section { width: 100%; }
    #twitter-feed article > iframe { width: 100% !important; }

    #HomeSidebar .lac-news-up,
    #HomeSidebar .lac-news-down { float: left; padding: 15px 10px; position: absolute; left: 50%; margin-left: -23px; margin-top: -23px; border-radius: 25px; border: #fff 3px solid; background: #28618c; width: 46px; height: 46px; }
    #HomeSidebar .lac-news { height: 400px !important; font-size: 1em !important; }
    #HomeSidebar .lac-news-down > img,
    #HomeSidebar .lac-news-up > img { width: 20px; }

    #HomeSidebar .lac-social-media li a img {
        height: 48px !important;
        width: 48px !important;
    }

    #twitter-feed iframe { height: 400px; }

    #HomeSidebar .lac-priorities { margin-left:auto; margin-right: auto;}
}