@import url("index21.css");
@import url(http://fonts.googleapis.com/css?family=Raleway);
@import url(http://fonts.googleapis.com/css?family=Open sans extra bold);
@import url(http://fonts.googleapis.com/css?family=Open sans light);
@import url(http://fonts.googleapis.com/css?family=Assistant Regular );

header{
    font-family: 'Raleway', sans-serif;
    background: #bbbbbb;
	background-image: url(images/ibew_LocConn_2022-headerbg010101b.png);
	background-repeat: no-repeat;
    width: 100%;
    position: relative;
    height: 300px;
    color: white;
    font-size: 68px;
    line-height: 68px;
    display: flex;
    align-items: center;
}
header p{
    order: 2;
    padding-top: 60px;
}
header img{
    order: 1;
    padding-top: 100px;
    margin: 30px;
}

/*.homeContainerBlocks{
    width: 98%;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}*/

.homeContainer{
    width: 98%;
    margin: 30px auto 0;
}



/* --- CONTAINERS --- */

#contentPanes{
    margin: 30px auto 0;
}

.leftContainer{
    margin-left: 2%;
    margin-right: 2%;
    width: 20%;
    float: left;
    margin-bottom: 30px;
}

.leftContainer img{
    max-width: 100%;
    float: left;
    margin: 10px auto;
    display: block;
}

.contentContainer{
    margin-right: 2%;
    width: 73%;
    float: left;
    margin-bottom: 30px;
}


#threeColumn{
    display: flex;
    flex-wrap: wrap;
    clear: both;
    width: 100%;
}

.announcementsContainer{
    margin-left: 2%;
    width: 25%;
    order: 1;
    margin-bottom: 30px;
}

.mediasliderContainer{
    margin-left: 1%;
    margin-right: 1%;
    padding-left: 1% !important;
    padding-right: 1% !important;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    width: 40%;
    order: 2;
    margin-bottom: 30px;
}

.articlesContainer{
    margin-right: 2%;
    width: 25%;
    order: 3;
    margin-bottom: 30px;
}

/* --- CONTAINERS END --- */

		
.MainLinks a { color: #333355; }
.MainLinks a:visited { color: #777777; }
.MainLinks a:hover { color: #666666; }
.MainLinks a:focus { outline: thin dotted; }
.MainLinks a:hover, a:active { outline: 0; }


#headerSM{
    position: absolute;
    top: 55px;
    right: 0;
}

.headerContainer img{
    width:100%;
}

#menuPulldownTextHome{
    margin: 3px 0 0 20px;
    float: right;
    font-family: Arial Black, Helvetica, Verdana, sans-serif;
    color: #435c8b;
    cursor: pointer;
}

#menuPulldownTextHome a{
    text-decoration:none;
}

#menuPulldownTextHome img{
    float: left;
    margin: -8px 2px 0 0;
}

#resourcesLeft{
    width: 65%;
    float: left;
}

#resourcesRight{
    width: 30%;
    float: right;
    overflow: hidden;
}

#resourcesRight img{
    text-align: center;
    display: block;
    margin: 0 auto 10px;
    max-width:100%;
}

.halfPageImage{
    width: 50%;
}

#localConnectionsMenu{
    height: 40px;
    width: 94%;
    background-color: #d8dad7;
    padding: 0 4% 0 2%;
    text-transform: uppercase;
    color: #617387;
}

#localConnectionsMenu h4{ 
    float: left;
    margin-top:  3px;
    color: #617387;
}

#localConnectionsMenu ul{
    list-style-type: none;
    float: right;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#localConnectionsMenu li{
    float: left;  
    cursor: pointer;
    position: relative;
    padding: 12px 8px 10px;
}

#localConnectionsMenu li a:hover, #localConnectionsMenu li:hover{
    background: #bcbcbc;
    color: #000;
}

#localConnectionsMenu a{
    text-decoration: none;
}

.siteWrap{
    background-color: #EBEBEB;
    background-image: url('images/political_backgroundCapitolBuilding.png');
    background-position: center top 7%;
    background-repeat: no-repeat;
}

#deptResDropdown{
    padding: 0;
    position: absolute;
    background: #bcbcbc; 
    z-index: 400;
    top: 40px;
    left: -118px;
    width: 300px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transiton: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    -transition: opacity 0.2s;
}

#deptResDropdown li{
    background: #bcbcbc;
    display: block; 
    color: #000;
    padding: 5px 10px;
    margin: 0;
    width:100%;
}

#deptResDropdown li:hover, #deptResDropdown li a:hover {
    background: #555;
    color: #fff;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

ul li:hover #deptResDropdown, #deptResDropdown:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 1130px) {
    header{
        font-size: 48px;
    }
    header img{
        max-width: 80%;
    }
}

@media only screen and (max-width: 900px) {
    header{
        font-size: 38px;
    }
    .homeContainerBlocks{
        width: 98%;
        margin: 30px auto 0;
    }
    .homeContainer{
        width: 98%;
        margin: 30px auto 0;
    }

    .announcementsContainer{
        width: 46%;
        order: 2;
    }

    .mediasliderContainer{
        margin-left: 2%;
        margin-right: 2%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none;
        border-right: none;
        width: 96%;
        order: 1;
    }

    .articlesContainer{
        margin-left: 2%;
        width: 46%;
    }
    
}

@media only screen and (max-width: 860px) {
    .halfPageImage{
        width: 100%;
    }
}

@media only screen and (max-width: 780px) {
    #localConnectionsMenu ul{
        font-size: 12px;
        margin: 0 auto;
        float: none;
        width: 600px;
        padding: 0;
    }
}

@media only screen and (max-width: 660px) {
    header{
        font-size: 22px;
        line-height: 22px;
    }
    #localConnectionsMenu ul{
        width: 550px;
    }
    #localConnectionsMenu ul li{
        padding-left: 4px;
        padding-right: 4px;
    }

}
@media only screen and (max-width: 593px) {
    #localConnectionsMenu{
        height: 80px;
    }
    #localConnectionsMenu ul{
        width: 100%;
    }
}
 @media only screen and (max-width: 510px) {
     header{
        font-size: 16px;
        line-height: 16px;
    }
    .announcementsContainer{
        margin-left: 2%;
        margin-right: 2%;
        width: 96%;
    }

    .mediasliderContainer{
        margin-left: 2%;
        margin-right: 2%;
        width: 96%;
    }

    .articlesContainer{
        margin-left: 2%;
        margin-right: 2%;
        width: 96%;
    }
}
@media only screen and (max-width: 700px) {
	.templateColumnContainerw {
		width:100%!important;
		table-layout:fixed;
		display:table;
		margin-bottom:5px
}

	.templateColumnContainer {
		display:table;
		width:100%!important;
		table-layout:fixed;
		text-align:center;
		margin-bottom:5px
}

	.columnImage {
		height:auto!important;
		width:100%!important;
		max-width:100%!important;
		padding:10px
}

	.leftColumnContent {
		font-size:10px!important;
		width:100%!important;
		padding:10px;
		color:#036
}
}