/* --------------------------------------  
   Marine Fisheries Custom Styles 
----------------------------------------- */


body {
  background: url("blank.png") repeat fixed center top #ececec;

}


#portal-header .form-search {
    margin-top: 0px!important;
}

#content a:hover {
  color:#ff6a31!important;
}

#content ul {
    font-size: 16px !important;
}

#sharebar {
    display: none;
}


h1, h2, h3, h4 {
    color: #007d9d;
    font-family: "myriad-pro"; 
    letter-spacing: -0.0125em;
}


h1, .documentFirstHeading { font-size: 2.3rem; }

h2 { font-size: 2rem; }

h3 { font-size: 1.5rem; }

h4 { font-size: 1.2rem; }

.documentFirstHeading { font-family: "myriad-pro", helvetica, arial, sans-serif; }

#portal-colophon li {
    letter-spacing: 0.05em;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
}

.bg-grey {
    background: #e0e4e8;
}

.card {
    margin: 1em;
    text-align: center;
    padding: 10px;
}

.card img {
    background: #fff;
    padding: 10px;
}

/* ---------------
  Tile News Items 
  ---------------- */

.tileHeadline a {
    color: #3C4079 !important;

}


.tileItem {
    border-bottom: medium none #fff !important;
    border-top: 2px solid #999;
    margin-bottom: 0;
    padding-top: 1em;
}

.tileImage {
    display: block;
    float: left;
    margin-bottom: 1em;
    padding: 10px;
}

/*
.tileImage img, img.tileImage {
    background: #eee none repeat scroll 0 0;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px #999;
    float: left;
    margin: 0.5em 2em 0.5em 0;
    padding: 4px;
    width: 130px;
} */

.tileItem .documentByLine {
    display: none !important;
}


.tileBody .description {
    font-size: 13pt;
    line-height: 135%;
}

/* --------------
  Header and logo 
  --------------- */


#portal-logo {
    display: inline-block;
    margin: 0 0 20px;
}
#portal-logo > img {
    width: 550px;
}



.LSBox {
    display: none;
    margin-top: -25px;
}


#portal-header {
    background-image: url("../../../frame-images/usaid-logo-frame.png") !important;
    background-position: right 62px;
    background-repeat: no-repeat;
}

#portal-header #usaid-logo img {
    height: 70px;
    position: absolute;
    right: 0;
    top: 60px;
    width: 220px;
}

.search-box {
    background: #FD9D59 url("fab-images/search-icon-white.png") no-repeat scroll 10px center / 50px auto;
    border-radius: 5px;
    font-size: 20px;
    margin: 1em 0;
    padding: 1.25em;
    text-indent: 40px;
}

.search-box:hover {
    background: #E17A24 url("fab-images/search-icon-white.png") no-repeat scroll 10px center / 50px auto;
}

.search-box > a {
    color: #fff;
}

#content .search-box > a {
    border-bottom: medium none !important;
    color: #fff !important;
}

#content .search-box > a:hover {
 color: #fff;
}

.top-header-inner > #bio-logo {
   display:block!important;
}

.top-header {
   background: #1a4d66 none repeat scroll 0 0;

}

.top-header-inner #bio-logo img {
    background-image: url("conservation-ent/bio-logo-sm.png");
    float: left;
    height: 15px;
    left: 20px;
    position: relative;
    top: 15px;
    width: 340px;
}

/* ---------
  Navigation
  ---------- */

ul#navigation {
    position: relative;
    left: 2em;
    top: 0;
    text-transform: uppercase;
}
.navbar .container {
    background-color: #fff !important;
    
}

/*#portaltab-home > a {
    background: none;
    height: auto;
    padding: 10px 20px;
    text-indent: 0;
    width: inherit;
}*/

#portaltab-home > a {
    background: url(menu-home-black.png) no-repeat scroll center center transparent;
    height: 40px;
    padding: 2px 11px;
    text-indent: -999em;
    width: 30px;
}

#portaltab-home > a:hover {
    background: url("menu-home-black.png") no-repeat scroll center center #ddd;
    height: 40px;
    padding: 2px 11px;
    text-indent: -999em;
    width: 30px;
}

.navbar .nav > li > a {
    color: #616161;
    font-weight: 700;
    padding: 10px 20px;
    border-right: none;
    line-height: 28px;
}

.navbar .nav > li > a:hover {
    background: none;
    color: #017d9d;
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    background-color: #efefef;
}

.navbar .nav>.active>a, .navbar .nav>.active>a:hover, .navbar .nav>.active>a:focus {
    box-shadow: none;
    color: #017d9d !important;
}

/*----- DropDown -----*/

.site-marine-conservation-and-sustainable-fisheries-collaborative-learning-group ul.globalSectionsLevel1 {
    opacity: 1;
    visibility: visible;
    font-size: 14px;
    text-transform: none;
}

#navigation ul li {
    background-color: #3E98B7;
    border-top: 1px solid #fff;
    width: 20em;
    box-shadow: 0px 3px 6px #666;
}
#navigation ul li:hover { background-color: #187b94; }

/* --- FOOTER  --- */

#portal-footer { background: none repeat scroll 0 0 #337e9e; }

#portal-footer h2 { color: #fff; }


/* ---- Learning Group Menu -move to ploneCustom.css after testing on Marine ---- */

.top-header .top-header-inner {
    max-width: 1180px !important;
}
.top-header ul {
    margin: 0 !important;
}

.learning-menu-wrapper { 
    display: block;
    position: absolute;
    top: 0;
    left: 60%;
    z-index: 10;
}


@media screen and (max-width: 600px) {
    .learning-menu-wrapper {
      top: 10px;
      max-width: 80%;
}
}

.ce-button {
    position: absolute;
    right: 0;
    padding: 0 20px;
    width: 200px;
}

.toolkit-dropdown ul {
    list-style: none;

}

.toolkit-dropdown ul li .companion-select {
    display: none;
    min-width: 230px;
    z-index: 100;
    right: 0;
    margin: 0;
    background: #ffffff;
    position: absolute;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.toolkit-dropdown ul li .companion-select li {
    padding: 0 10px;
    margin: 0;
    border-bottom: 1px dotted #c8c8c8;
}

.toolkit-dropdown ul li .companion-select li a {
    color: #3390aa;
    background-image: none;
    text-transform: none;
}

.toolkit-dropdown ul li:first-child a {
    color: #ced2ad;
}

.toolkit-dropdown ul li a {
    display: inline-flex;
    height: 42px;
    align-items: center;
    padding-left: 0;
}

.toolkit-dropdown ul li:hover .companion-select {
        display: block; }

.toolkit-dropdown ul .companion-select.opened{
        display: block;

      }


/* --------------
   MEDIA QUERIES
----------------- */


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

#visual-portal-wrapper {
    margin: 160px 0 0;
    width: 100% !important;
    padding: 0 20px;
}

.top-header { height: 75px; }

.top-header-inner #bio-logo img {
    background-size: 80%;
    background-repeat: no-repeat;
}


.top-header ul {
    float: left;
    margin: 20px 15px 0 !important;
}
.top-header ul li:last-child {
    margin-right: 30px;
}

.top-header ul li { margin-right: 40px; }

.ce-button {
    margin-top: -55px;
}

.navbar .container {
    background-color: #337e9e !important;
}

#portal-columns {
    position: relative;
    top: 20px;
}

.mobile-logo { display:none; }
.hide-mobile { display: none;}

.navbar { top:190px; }

.navbar .nav > li a{
    float: none;
    font-size: 16pt;
    text-align: center;
    font-weight:600;
    padding:15px 0;
}

#portal-logo > img {
    width: 100%;
    margin-top: -4.5em;
}


#portal-header { background-image: url("https://rmportal.net/biodiversityconservation-gateway/learning-groups/marine-conservation-and-sustainable-fisheries-collaborative-learning-group/none") !important; }


h1, .documentFirstHeading {
    font-size: 28px;
    margin-top: 20px !important;
}

a.search-open {

    margin-top: 10px;
    margin-right: 15px;
}
}

/* --- END Media Queries ---  */

.grey-box {
    background: #cdcdcd none repeat scroll 0 0;
    margin-bottom: 1em;
    padding: 20px;
    text-align: center;
}