/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
---------------------------------------------------------------- */

/* Styles for all pages on the UWE website 
1.0 - Responsive Tables
2.0 - iFrames
3.0 - Jobs
4.0 - Counties
    4.1 - Personnel
    4.2 - Newsletters
5.0 - County Calendars
6.0 - Staff
7.0 - Publications
8.0 - Programs
9.0 - Everything Extension
*/


.uwe-toplinks {	display: flex; justify-content: center; font-size: 16px; }

.uwe-toplinks a { 
	color: #492f24 !important; 
	padding: 6px;
    border: solid 2px #FFC425;
    border-radius: 8px;
    margin: 0;
    width: 100%;
    text-align: center;
}

.fw-subtitle { margin-bottom: -50px; margin-left: 15px;}

#bottom-contacts a, #bottom-contacts {
	color: #492F24 !important;
	font-size: 16px;
}


.clear { clear: both; }

h2 {  margin-top: .5em; 
    margin-bottom: .5em;
}

ul.list-margin li { margin: 10px 0 0 25px;}

.msthd img { /* display the banner across the width of the screen */
    width: 100%;
}

/*--------------------------------------------------------------
1.0 Responsive Tables

Used on: Albany County 4-H Local Clubs, Campus Specialists
--------------------------------------------------------------*/
.top { font-weight: 700; }
.white { background-color: #FFFFFF; }

.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    }

.table-row {
	display: table-row;
	width: 100%;
}

.table-row-noshade {
    display: table-row;
	width: 100%;
}

.table-row-bottomborder { /* used on the Area Educator pages */
    display: table-row;
    width: 100%;
    border-bottom: solid 1px #e5e5e7;
}

.table-cell {
	display: table-cell;
	width: 25%;
    padding: 1em;
}

.table-cell10, .table-cell15, .table-cell18, .table-cell20, .table-cell25, .table-cell30, .table-cell33, .table-cell40, .table-cell45, .table-cell50, .table-cell60, .table-cell75, .table-cell85, .table-cell100 {
    display: table-cell;
    padding: .5em;
}

.table-cell10 { width: 10%; }
.table-cell15 { width: 15%; }
.table-cell18 { width: 18%; }
.table-cell20 { width: 20%; }
.table-cell25 { width: 25%; }
.table-cell30 { width: 30%; }
.table-cell33 { width: 33%; }
.table-cell40 { width: 40%; }
.table-cell45 { width: 45%; }
.table-cell50 { width: 50%; }
.table-cell50 { width: 60%; }
.table-cell75 { width: 75%; }
.table-cell85 { width: 85%; }
.table-cell100 { width: 100%; }

.table-row:nth-child(even) {background: #f5f5f5;}
.table-row:nth-child(even) a {color: #025396; }
.table-row:nth-child(odd) {background: #FFF}

@media screen and (max-width: 990px) {
    .table-row-bottomborder .table-cell25, .table-row-bottomborder .table-cell15, .table-row-bottomborder .table-cell20, .table-row-bottomborder .table-cell40 { display: inline-block; width: 50%;}
    .table-row-bottomborder .table-cell25, .table-row-bottomborder .table-cell20 { background-color: #fcfcfc; }
}

@media screen and (max-width: 480px) {
    .table-cell, .table-cell10, .table-cell15, .table-cell18, .table-cell20, .table-cell25, .table-cell30, .table-cell33, .table-cell40, .table-cell45, .table-cell50, .table-cell60, .table-cell75, .table-cell85, .table-cell100 { display: block; width: 100%; padding: .25em;}
    .table-row-bottomborder .table-cell25 { width: 100%; background-color: #fcfcfc; font-weight: 700; margin-top: .25em;}
    .table-row-bottomborder .table-cell15, .table-row-bottomborder .table-cell20, .table-row-bottomborder .table-cell40 { margin-left: 10px; padding-bottom: 0px; background-color: #ffffff;}

}

/*--------------------------------------------------------------
2.0 iFrames
--------------------------------------------------------------*/

.iframe-container {
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.iframe-container .transparent {
    display:block;
    width:100%;
    height:auto;
}

.iframe-container iframe {
    position: absolute;
    width: 90%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #466281;
    padding: 1.5em;
    margin: 0 1em;
}

/* used on Albany County 4-H homepage */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*--------------------------------------------------------------
3.0 Jobs
--------------------------------------------------------------*/
.row-gray { 
        background-color: #f5f5f5; 
        padding: 1em; 
        border: solid 1px #e5e5e7; 
        margin-bottom: 3em;}
        
@media screen and (max-width: 768px) {
    .row-gray { margin-bottom: 2em; }
}




/*--------------------------------------------------------------
4.0 Counties
--------------------------------------------------------------*/
.county img { width: 100%; margin-bottom: 1em;}

#annie-box {
    background-color:#eaf6e2;
    border-radius: 7px;
	border: solid 1px #bbbbbb;
    padding: 10px;
    width: 502px;
    box-sizing: border-box;
    margin-bottom:10px;
}
#annie-box img {
    margin: -10px 0 10px -10px;   
    border-top-left-radius:7px;
    border-top-right-radius:7px;
    border-bottom: solid 2px #a3cf54;
}

.countylist li { 
    list-style-type: none; 
    border: solid 1px #dddddd;
    border-radius: 4px;
    margin-bottom: 1em;
    }
.countyname { 
    width: 100%;
    background-color: #fcfcfc;
    padding: 5px;
}
.countyaddress {
    padding: 5px;
    border-top: solid 1px #dddddd;
}

@media screen and (max-width: 480px) {
    ul.countylist {
        margin: 0;
        -webkit-padding-start: 0;
    }
    
    .col-md-12 {
        padding-right: 0px;
    }
}



/*--------------------------------------------------------------
4.1 Personnel
--------------------------------------------------------------*/
.personnel { 
    padding: 1em; 
    border: solid 1px #ffc622; 
    background: #fff7ef; 
    width: 80%; 
    margin: 0 auto 2em auto; 
    border-radius: 7px;}
    
.name-pic { 
    text-align: center; 
    font-size: 1.2em;}
    
.name-pic img { 
    margin: 1em auto; 
    width: 75%; }
    
@media screen and (max-width: 480px) {
    .personnel { width: 100%; }
}

/*--------------------------------------------------------------
4.2 Newsletters
--------------------------------------------------------------*/
#newsletters { padding-bottom: 1em; }

#newsletters .list-3Col { width: 40%; }

@media screen and (max-width: 480px) {
    #newsletters .list-3Col { width: 100%; }
}

/*--------------------------------------------------------------
5.0 County Calendars
--------------------------------------------------------------*/
.calendars li {
    font-size: 1.2em;
}


@media screen and (max-width: 480px) {
    .calendars img { display: none; }
}

/*--------------------------------------------------------------
6.0 Staff - used on Comm & Tech Staff 
--------------------------------------------------------------*/

.staff img { margin: 0 15px 15px 0; }
.contact { width: 100%; border: solid 1px #e5e5e7; background-color: #dcdcdc; padding: 10px; margin: 10px 0; border-radius: 7px;} 

/*--------------------------------------------------------------
7.0 Publications
--------------------------------------------------------------*/

.video { /* used on Connect pages */
    width: 490px; 
    border: 1px solid rgb(229, 229, 231); 
    border-radius: 10px 10px 10px 10px; 
    padding: 20px; 
    background-color: rgb(254, 253, 247); 
    text-align: center; 
    margin: 30px auto; 
    z-index: 1;
}

.graybox {
    background-color: #f7f7f9; 
    border: solid 1px #d8d8da;
    width: 90%; 
    padding: 10px; 
    text-align: center;
}

.graybox a { color: #025396; }

/*--------------------------------------------------------------
8.0 Programs
--------------------------------------------------------------*/
.program-wrapper { border: solid 1px #ebebeb; background-color: #fcfcfc; padding: 5px; margin-bottom: 15px; }
.program-wrapper img { margin-right: 15px; margin-bottom: 15px; float: left; }
@media screen and (max-width: 480px) {
    .program-wrapper img {
        width: 100%;
        margin-right: 0px; 
        margin-bottom: 0px;
        float: none;
    }
}
.program-box {
    float: left;
    padding: 0;
    border: solid 1px #cececf;
    background-color: #ffffff;
    border-top-right-radius: 10px;
    color: #492f24;
    margin: 10px;
    overflow: hidden;
    width: 23%;
    height: 450px;
}

.program-box img {
	width: 100%;
	height: 200px;
}

.m-15 { margin: 15px; color: #ffffff; }
.m-15 h3 a { color: #ffffff; font-size: 22px; }
.p-15 { padding: 15px; }


.bg-4h { background-color: #00674e; }
.bg-agnr { background-color: #9a651e; } 
.bg-cnp { background-color: #ed0910; border-color: #ed0910;}
.bg-cde { background-color: #575a62; }
.bg-finlit { background-color: #2a3e60; } 
.bg-hort { background-color: #874917; background-color: #df2318; }
.bg-mg { background-color:  #77160c; border-color: #77160c; } 
.bg-nfs { background-color: #7e7615; } 
.bg-entomology { background-color: #ffc425; border-color: #ffc425;  } 
.bg-ipm { background-color: #ffc425; } 

.bg-entomology .m-15, .bg-entomology .m-15 h3 a, .bg-ipm .m-15, .bg-ipm .m-15 h3 a { color: #492f24; }

/*--------------------------------------------------------------
9.0 Everything Extension
--------------------------------------------------------------*/
    
.educator-key-title {
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
    } 
    
.educator-key { 
    margin: 10px auto; 
    float: left; 
    width: 40%; 
    border: 1px solid #e5e5e7; 
    background-color: #f3f3f3; 
    border-radius: 7px; 
    padding: 0px 10px; 
    font-size: 0.9em; 
    }

.educator-map { 
    float: left; 
    width: 55%; 
    }    
    
@media screen and (max-width: 990px) {
    .educator-key, .educator-map {
        width: 100%;
        float: none;
    } 
    
    .educator-map {
        text-align: center;
    }
}  

/*--------------------------------------------------------------
9.0 Know Your Pesticides
--------------------------------------------------------------*/
.videos {
    margin: 0 auto;
    text-align: center;
    background-color: #ebebeb;
    padding: 2em;
    border-radius: 7px;
    
}

/*--------------------------------------------------------------
10.0 Left Side Navigation
--------------------------------------------------------------*/

ul#accordion li ul li ul li ul li { /* Programs>CDE>Program Services>Entreprenuership */
  /*   line-height: 30px; */
}

#accordion .navChildren .navChildren  div a::before {  
   content: "\25CF \00a0 \00a0";
   /* padding-left: 60px; */
}

#accordion .navChildren .navChildren .navChildren div a::before {  
    content: "\25CC \00a0 \00a0";
    text-decoration: none;
}

#accordion .navChildren .navChildren .navChildren div a {  
    line-height: 18px;
}

#accordion .navChildren .navChildren .navChildren div {  
   /*  padding-left: 60px; */
}

/*-------------------------------------------------------------- 8.0 Coronavirus message ---------------------------------------------------------------*/
 .coronavirus-box {
	 background-color: #ebebeb;
	 border: solid 3px #77160c;
	 padding: 10px;
	 border-radius: 7px;
	 margin: 20px 20px 30px 20px;
}
 .coronavirus-title {
	 text-align: center;
	 color: #77160c;
	 font-size: 20px;
	 font-weight: 600;
}

.yellow-column-heading {
    background: #ffc425;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 5px 10px;
    margin: 0 3px;
    text-align: center;
}

.yellow-column-heading h2 {
    font-family: 'Open Sans', helvetica, arial, sans-serif;
    font-size: 14pt;
}

div.twUpcomingHead { text-align: center !important; }

.yellow-column {
    border: solid 1px #ffc425;
    margin: 0px 3px 10px 3px;
}

.uwe-box-red, .uwe-box-green, .uwe-box-brown, .uwe-box-blue {
	width: 100%; 
	color: #ffffff; 
	padding: 20px; 
	text-align: center; 
	font-size: 1.5em;
}

.uwe-box-red a, .uwe-box-green a, .uwe-box-brown a, .uwe-box-blue a {
    color: #ffffff;
}

.uwe-box-red { background-color: #77160c; }
.uwe-box-green { background-color: #7e7615; }
.uwe-box-brown { background-color: #9a651e; }
.uwe-box-blue { background-color: #2a3e60; }
.uwe-box-red i, .uwe-box-green i, .uwe-box-brown i, .uwe-box-blue i { font-size: 3em; }

.uwe-boxcontent-red, .uwe-boxcontent-green, .uwe-boxcontent-brown, .uwe-boxcontent-blue {
	border: solid 1px #77160c;
	width: 100%;
	padding: 20px;
}
.uwe-boxcontent-red { border: solid 1px #77160c;}
.uwe-boxcontent-green { border: solid 1px #7e7615;}
.uwe-boxcontent-brown { border: solid 1px #9a651e;}
.uwe-boxcontent-blue { border: solid 1px #2a3e60;}

.feed-item-title {
    font-family: 'Open Sans', helvetica, arial, sans-serif;
    font-size: 1.15em;
    font-weight: bold;
    text-transform: none;
    text-decoration: none;
    color: #3366cc;
}

.uwe-coronavirus {
    margin-top: 20px;
    font-size: 1.1em;
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    border: 0;
}

.whinn img {
    background: #f0f0f0;
    line-height: 18px;
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
    max-width: 100% !important;
    -webkit-box-shadow: 0 0.7em 1.5em -14px black;
    -moz-box-shadow: 0 .7em 1.5em -14px black;
    -o-box-shadow: 0 .7em 1.5em -14px black;
    box-shadow: 0 0.7em 1.5em -14px;
}

/*-------------------------------------------------------------- 9.0 Programs ---------------------------------------------------------------*/
 
.program-card {
    width: 29%;
    margin: 15px;
    border-radius: 7px;
    text-align: center;
    padding: 15px;
    background-color: #f5f7f8;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
}

.program-card:hover {
    background-color: #ffe192;
}
.program-card i {
    float: left;
    display: block;
    font-size: 2.5em;
    border-radius: 50%;
    background-color: #ffc425;
    padding: 15px;
    margin: -30px 0 0 -30px;
    border: solid 1px #e5e5e7;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
}

.program-card img {
    float: right;
    display: block;
    border: solid 1px #e5e5e7;
    margin: 15px auto 15px auto;
}

.ml-1 {
    margin-left: 1em;
}