﻿/* 	----------------------------------------------------------------------------------------------

	SITE HEADER
	----------------------------------------------------------------------------------------------
*/

/* header logo override (ODVA LOGO) */
.or-header-logo { background-image: url('/ODVA/Style%20Library/Images/ODVA-Logo.svg'); 
}

/* header background override */
.or-header {
	background-image: url('/ODVA/PublishingImages/Headers/ODVAtest2.jpg');
	background-position:0px 500px !important;
	background-color: #00314b;
	/* background-attachment: scroll !important; */
}

/*
.user-authenticated .or-header {
	background-attachment: scroll !important;
}
*/

/* header overlay override */
.or-header .or-header-overlay { background: #000000; opacity: 0;
    filter: alpha(opacity=0); /* For IE8 and earlier */}
    
/* hide site and subsite description */
.or-header-title small {
    display: none;
}

/*make oregon.gov logo greyscale */
.or-navbar-brand img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    filter: gray; /* IE6-9 */
}
    
/* 	----------------------------------------------------------------------------------------------
	SITEWIDE
	----------------------------------------------------------------------------------------------
*/
    
/* image bottom padding */

.img-responsive {
	margin-bottom: 10px;
}    
    
/* Scrollbar style override */
::-webkit-scrollbar {
    width: 15px;
    background: #eaeaea;  
}
::-webkit-scrollbar-thumb {
    background: #787876;
}

/* hide groupheader "blank" text */
.groupheader {
	display: none;
}

/* footer add Crisis Line */
.or-footer-link-crisis-line {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 260px;
    height: 90px;
    text-indent: -5000em;
    text-decoration: none;
    background: transparent url(/odva/PublishingImages/Misc/VCL-988-Site.png) no-repeat left top;
    border-bottom: 0 solid transparent;
}

/* 	----------------------------------------------------------------------------------------------
	NAVIGATION AND SEARCH
	----------------------------------------------------------------------------------------------
*/

/* navbar background color override (BLUE) */
.or-navbar { background: #001b2e; }
.or-navigation-list > li > a { color:#fff; }

/* search bar colors override */

/* navbar base color */
.or-navbar-search-wrapper { background: #00314b; }

/* navbar submit button color */
.or-navbar-search-submit-button { background: #00476d; }

/* navbar submit button hover/focus color */
.or-navbar-search-submit-button:hover, .or-navbar-search-submit-button:focus { background: #3993b2; }

/* navbar submit and close button icon colors */
.or-navbar-search-close-button > *, .or-navbar-search-submit-button > * { color: #fff ;}

/* shadow effect */
.or-navbar-search-wrapper.or-navbar-search-open {
	box-shadow: -10px 0px 10px -5px #00314b;
}

/* Off-Canvas Overrides */
@media screen and (max-width: 767px) {
	.navbar-offcanvas {
		background-color: rgba(41,51,82,0.9);
	}
}

/* 	----------------------------------------------------------------------------------------------
	TASKBOXES
	----------------------------------------------------------------------------------------------
*/

/* taskbox styling */
.or-taskbox-title {
	background:rgba(56,56,56,.7);
}

/*remove link hover icon */
.or-taskbox-image .or-taskbox-link::after {
	display:none;
}

/* square corners */
.or-taskbox .or-taskbox-title:first-child, .or-taskbox-link > .or-taskbox-title:only-child, .or-taskbox > .or-taskbox-image:first-child, .or-taskbox > .or-taskbox-image:first-child img {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}

.panel
{
	border-radius: 0px;
}

/* keep margin-bottom 0px */
.or-taskbox-image img {
	margin-bottom: 0px;
}

/* remove top border from taskbox h3 */
.or-taskbox h3 {
	border-top: none;
}

/* 	----------------------------------------------------------------------------------------------
	HOMEPAGE STYLE TWEAKS
	----------------------------------------------------------------------------------------------
*/

/* hide list of links under task box */
.agency-home .or-taskbox ul {
	display:none;
}

/* h2 stylize on homepage (DARK GREY WITH BOTTOM BLUE LINE)*/
.agency-home h2 {
    padding: .41em .4em .275em 0px;
    color: #4d4d4f;
    border-bottom: #00476d 3px solid;
    text-transform: uppercase;
    font-weight: bold;
}

/* h3 stylize on homepage (DARK GREY WITH BLUE LINE)*/
.agency-home h3 {
    border-top: none;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0px;
}

/* feedEK RSS feed no borders */
.agency-home .feedEkList li {
	border-bottom: 0px solid white;
	/* border-top: 1px solid #eaeaea; */
	margin-top: 5px;
}

.agency-home .feedEkList li .itemContent {
	min-height: 95px;	
	margin-top: 5px;
}

.agency-home .feedEkList .itemContent p{
	display: block; /* Fallback for non-webkit */
 	display: -webkit-box;
 	max-width: 550px;
  	height: 3.6em; /* Fallback for non-webkit */
  	margin: 0 auto;
  	font-size: 1em;
  	line-height: 1.2em;
  	-webkit-line-clamp: 6;
  	-webkit-box-orient: vertical;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

.agency-home .feedEkList li .itemTitle{
	font-weight: bold;
}

/* font awesome styling homepage */
.social-icon.fa
{
	padding: 14px;
	margin: 0px;
	font-size: 29px;
	width: 59px;
	height: 59px;
	text-align: center;
	text-decoration: none;
	color: white!important;
	background: #74777a;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transform: scale(0.85);
}

.social-icon.fa:hover
{
	-webkit-transform: scale(1);
    transform: scale(1);
    
}

.social-icon.fa-facebook:hover 
{
	background: #3B5998;
}

.social-icon.fa-twitter:hover
{
	background: #55ACEE;
}

.social-icon.fa-instagram:hover
{
	background: #55ACEE; 
    background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
}

.social-icon.fa-wordpress:hover
{
	background: #21759b;
}

.social-icon.fa-youtube-play:hover
{
	background: #bb0000;
}

.social-icon.fa-envelope:hover
{
	background: #EE0009; 
    background: -webkit-linear-gradient(right top, #ff6a1a, #ff1f23); 
    background: -o-linear-gradient(bottom left, #ff6a1a, #ff1f23); 
  	background: -moz-linear-gradient(bottom left, #ff6a1a, #ff1f23); 
  	background: linear-gradient(to bottom left, #ff6a1a, #ff1f23); 
}

.footer.social-icon.fa
{
	padding: 10px;
	margin: 0px;
	font-size: 20px;
	width: 40px;
	height: 40px;
	text-align: center;
	text-decoration: none;
	color: white!important;
	background: #74777a;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transform: scale(0.85);
}

.footer.social-icon.fa:hover
{
	-webkit-transform: scale(1);
    transform: scale(1);
    
}

.footer.social-icon.fa-facebook:hover 
{
	background: #3B5998;
}

.footer.social-icon.fa-twitter:hover
{
	background: #55ACEE;
}

.footer.social-icon.fa-instagram:hover
{
	background: #55ACEE; 
    background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
}

.footer.social-icon.fa-wordpress:hover
{
	background: #21759b;
}

.footer.social-icon.fa-youtube-play:hover
{
	background: #bb0000;
}

.footer.social-icon.fa-envelope:hover
{
	background: #EE0009; 
    background: -webkit-linear-gradient(right top, #ff6a1a, #ff1f23); 
    background: -o-linear-gradient(bottom left, #ff6a1a, #ff1f23); 
  	background: -moz-linear-gradient(bottom left, #ff6a1a, #ff1f23); 
  	background: linear-gradient(to bottom left, #ff6a1a, #ff1f23); 
}


/* helpful poll style overrides */
.fa.fa-fw.fa-comments-o.text-primary
{
	color: #74777a;
}

#helpfulPollYes.btn-primary, #helpfulPollNo.btn-primary
{
	background-color: #767674;
	border-color: #767674;
	border-radius: 2px;
}

/* 	----------------------------------------------------------------------------------------------
	LEFT NAVIGATION
	----------------------------------------------------------------------------------------------
*/

/* left nav margin-top override to 0 */
html .or-side-navigation {
	margin-top: 0px !important;
}

/* left nav color override (RED BORDER, RED LINK)*/
.or-side-navigation ul .or-side-navigation-current > a {
    border-left: solid 3px #b23224;
    color: #b23224;
}

/* left nav solid color background */
html .or-side-navigation {
    background-color: #efefef;
    padding: 10px;
    border-top: 4px solid #00476d;
}

/* 	----------------------------------------------------------------------------------------------
	LINK AND TEXT COLORS AND STYLES
	----------------------------------------------------------------------------------------------
*/

/* change body text to almost black */
.main p {
	color: #333333;
}

/* main content link color override (LIGHT BLUE) */
.main a:link, .footer a:link, .main a{
	color: #0081a0;
}

/* main content link hover style and color override (BLUE) */
.main a:active, .main a:hover , main a:link{
    text-decoration: none!important;
    color: #00476d;
}
    
/* keep left nav link color black */
.or-side-navigation a:link {
    color: #000000;
}

/* footer content link color override (BLUE) */
.footer a:link {
	color: #0081a0;
}

/* main and footer content visited link color override (LIGHT BLUE) */
main a:visited, footer a:visited, .alert a:visited {
	color: #0081a0;
}

/* remove lefthand padding from bulleted lists */
ul {
	padding-left: 20px;
}


/* 	----------------------------------------------------------------------------------------------
	ACCORDIONS
	----------------------------------------------------------------------------------------------
*/

/* remove round corners */
.panel-heading {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}

/* accordion item title color override */
h3.panel-title, h4.panel-title {
	color:#0081a0; /*LIGHT BLUE*/
}

h3.panel-title:active, h4.panel-title:active {
	color:#00476d; /*BLUE*/
}

h3.panel-title:active, h3.panel-title::hover , h3.panel-title:link, h4.panel-title:active, h4.panel-title::hover , h4.panel-title:link{
    text-decoration: none!important;
    color: #00476d;
}


/* accordion item link style override bold */
.panel-body a:link {
	font-weight: bold;
}

.panel-body a.btn {
	font-weight: normal;
}

/* accordion item visited link color override (LIGHT BLUE) */
.panel-body a:visited {
	color: #0081a0;
}

/* add space above */
.or-accordion-list {
	margin-top:20px;
}

/* h3 in accordion, undo border */
h3.panel-title {
	padding: 0px;
    border-top: none;
    text-transform: none;
    font-size: 18px!important;
}

/* h4 in accordion, undo border */
h4.panel-title {
	padding: 0px;
    border-bottom: none;
    text-transform: none;
}

/* h3 in editing webpart, undo border */
h3.ms-standardheader.ms-WPTitle {
    border-top: none;
}

/* 	----------------------------------------------------------------------------------------------
	DATATABLES
	----------------------------------------------------------------------------------------------
*/

/*DataTables style override */

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
	color: #ffffff !important;
	background-color: #0081a0;
	border-color: #0081a0;
}

.or-dataTablesWebPart a {
	color: #007e9c!important;
	
}

.or-dataTablesWebPart caption {
	font-size: 1em;
	font-weight: bold;
}

.or-dataTablesWebPart .table-responsive, .or-dataTablesWebPart table.dataTable {
	margin-top: 5px!important;
}

div.dataTables_wrapper div.dataTables_length label, div.dataTables_wrapper div.dataTables_filter label {
	font-weight: bold;
}

/* 	----------------------------------------------------------------------------------------------
	CONTENT QUERY WEBPART
	----------------------------------------------------------------------------------------------
*/

.dfwp-list {
	margin-bottom: 10px;
	line-height: 1em;
}

/* 	----------------------------------------------------------------------------------------------
	HEADERS AND TEXT
	----------------------------------------------------------------------------------------------
*/

/* set minimum font size */
html {
  font-size: 16px;
    
  @media screen and (min-width: 900px) {
    font-size: 18px;
  }
    
  @media screen and (min-width: 1200px) {
    font-size: 20px;
  }
}

/* h1 stylize (GREY UPPERCASE BOLD WITH LIGHT BOTTOM BORDER) */
h1.or-page-title {
	font-size: 	1.875rem;
	color: #74777a;
	margin-bottom: 25px;
	text-transform: uppercase;
	font-weight: bold;
}

/* smaller top margin from h2, h3 */
h2,h3 {
	margin-top:0.1em;
	font-weight: bold;
}

/* h2 stylize (BLUE BOLD WITH LIGHT BOTTOM BORDER) */
h2 {
	font-size: 	1.875em;
	color: #00476d !important;
	padding: 0px 0px .4em 0px;
	border-bottom: #eeeeee 1px solid;
	font-weight: bold;
}

/* h3 stylize (DARK GREY WITH LIGHT TOP BORDER)*/
h3 {
	font-size: 1.625em;
	padding: .7em 0px 0px 0px;
	margin-top: 0.6em;
    color: #4d4d4f;
    border-top: #eeeeee 1px solid;
}

/* h4 stylize (BLUE UPPERCASE BOLD)*/
h4 {
    padding-top: 0.3em;
    font-size: 1.375em;
    color: #00476d !important;
    text-transform: uppercase;
    font-weight: bold;
}

/* h5 stylize (GREY UPPERCASE BOLD)*/
h5 {
    font-size: 1.125em;
    color: #4d4d4f;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 4px;
}

/* h6 stylize (RED UPPERCASE BOLD)*/
h6 {
    font-size: 1em;
    color: #b34425;
    font-weight: bold;
    padding-top: .7em;
    text-transform: uppercase;
}

/* h6 in the right sidebar, add top border */
div.col-md-4 h6{
	/* padding: .7em 0px 0px 0px; */
	margin-top: .7em;
    border-top: #eeeeee 1px solid;
}

/* p add bottom space */
p {
	padding-bottom: 0.2em;
}

/* 	----------------------------------------------------------------------------------------------
	BUTTONS
	----------------------------------------------------------------------------------------------
*/

/* NORMAL BUTTONS */

.btn {
	margin-right: 7px;
}

.button, a.btn.btn-primary.btn-lg.btn-block {
  	background: #b23224; /* RED */
}

.button-grey, a.btn.btn-primary.btn-lg.btn-block.grey {
  	background: #74777a; /* GREY */
}

.button, .button-grey, a.btn.btn-primary.btn-lg.btn-block, a.btn.btn-primary.btn-lg.btn-block.grey {
  	display: inline-block;
  	vertical-align: middle;
  	text-align: center;
  	text-decoration: none;
  	font-size: 16px;
  	-webkit-transform: perspective(1px) translateZ(0);
  	transform: perspective(1px) translateZ(0);
 	box-shadow: 0 0 1px transparent;
  	position: relative;
  	overflow: hidden;
  	padding: 5px 10px;
  	margin-bottom: 5px;
   	color: #ffffff!important;
  	border: 0;
}

.button:before, a.btn.btn-primary.btn-lg.btn-block:before {
	background: #87251b; /* DARK RED */

}

.button-grey:before, a.btn.btn-primary.btn-lg.btn-block.grey:before {
	background: #4d4d4f; /* DARK GREY */
}

.button:before, .button-grey:before, a.btn.btn-primary.btn-lg.btn-block:before, a.btn.btn-primary.btn-lg.btn-block.grey:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 4px;
	-webkit-transition-property: right;
	transition-property: right;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.button:hover:before, .button:focus:before, .button:active:before, .button-grey:hover:before, .button-grey:focus:before, .button-grey:active:before, a.btn.btn-primary.btn-lg.btn-block:hover:before, a.btn.btn-primary.btn-lg.btn-block:focus:before, a.btn.btn-primary.btn-lg.btn-block:active:before, a.btn.btn-primary.btn-lg.btn-block.grey:hover:before, a.btn.btn-primary.btn-lg.btn-block.grey:active:before, a.btn.btn-primary.btn-lg.btn-block.grey:focus:before {
	right: 0;
}

a.button, a.btn, a.button:visited, a.button-grey, a.button-grey:visited, a.btn.btn-primary.btn-lg.btn-block, a.btn.btn-primary.btn-lg.btn-block:visited, a.btn.btn-primary.btn-lg.btn-block.grey, a.btn.btn-primary.btn-lg.btn-block.grey:visited{
	text-decoration: none !important;
}

a.map.btn.btn-primary, tbody a.map.btn.btn-primary {
	color: #ffffff !important;
}

/* LARGE BUTTONS */

a.btn.btn-primary.btn-lg.btn-block, a.btn.btn-primary.btn-lg.btn-block.grey {
	border-radius: 0px;
	padding: 10px;
}

/* BOX BUTTONS */

div.icon {float: left;}
div.learnmore {float:right;}
span.icon {
  margin-right: 1em;
  float: left;
  clear: left;
}
.box-button {
  font-family: sans-serif;
  display: inline-block;
  padding: 1rem 0.6rem 0 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  text-decoration: none;
  color: #74777a;
  height: 8.5rem;
}
.box-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #eaeaea;
  opacity: 0;
  transform: scale(1.1);
  transition: all 0.5s;
}
.box-button > img {
  display: block;
  margin: 0 auto 0 auto;
}
.box-button-title {
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
  display: block;
  margin: 0.25rem 0 .5rem 0;
  color: #0081a0;
  max-width: 8.2rem;
}
.box-button-desc {
 
  text-align: left;
  color: #4d4d4f;
  font-weight: normal;
  display: block;
  margin-bottom: -15px;
  opacity: 1;
  max-height: 80px;
  max-width: 8.2rem;
  overflow: hidden;
  transition: all 0.5s;
}
.box-button-button {
  display: block;
  background: #b23224;
  color: white;
  border-bottom: 3px solid #87251b;
  padding: 0.5rem;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.5s;
  transform: translateY(20px);
  font-weight: normal;
  text-align: center;
  position: relative;
  top: -25px;
  transition-timing-function: ease-out;
}
.box-button:hover::after {
  opacity: 1;
  transform: scale(1);
}
.box-button:hover .box-button-button {
  opacity: 1;
  transform: translateY(0);
}

.box-button:hover .box-button-desc {
  opacity: 0;
}

img.odva-icon {
	filter: grayscale(1);
	transition: all 0.5s;
}

img.odva-icon:hover {
	filter: grayscale(0);
	transition: all 0.5s;
}

.box-button:hover img {
	transform: scale(1.1);
	/* filter: none; */
	filter: grayscale(0) drop-shadow(5px 5px 3px darkgray);
}

/* 	----------------------------------------------------------------------------------------------
	RSS FEEDS
	----------------------------------------------------------------------------------------------
*/

/* RSS feedek plugin style */
.feedEkList {
	list-style: none outside none;
	background-color: #FFFFFF; 
	border:0px solid #787676; /* LIGHT GREY */
	padding:4px 0px; 
	color:#3E3E3E;
}

.feedEkList li {
	border-bottom: 1px solid #eeeeee; 
	padding:5px 0px;
}

.feedEkList li:last-child {
	border-bottom: none;
}

.feedEkList p {
	padding-bottom: 0em;
	margin-bottom: 0px;
}

.feedEkList img {
	float: left;
	max-width: 114px;
	max-height: 90px;
	margin: 3px 10px 5px 0!important;
}

.itemTitle a {
	text-decoration:none 
}

.itemTitle a:hover { 
	text-decoration: underline !important;
}

.itemDate {
	font-size: 12px;
	color:#787676; /* LIGHT GREY */
}

/* 	----------------------------------------------------------------------------------------------
	MORTGAGE CALCULATOR
	----------------------------------------------------------------------------------------------
*/

#divCalc {
	padding: 10px;
	border: 1px solid #eaeaea;
}

/* 	----------------------------------------------------------------------------------------------
	MISCELLANEOUS
	----------------------------------------------------------------------------------------------
*/
 
/* Calendar from data.oregon.gov ul li style override */
ul.vaaccalendar{
	-webkit-padding-start:0px;
}

/* FLOW-FLOW SOCIAL WALL */


/* ISSUU */

/
.issuu-embed ::-webkit-scrollbar {
    width: 0px;
    background: #eaeaea; 
}

#WebPartWPQ7 {
	overflow-x: hidden!important;
}

.issuu-embed {
	-ms-overflow-style: none!important;
	overflow: hidden!important;
}

/* FLEXBOX */

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
   align-items: center;
   -webkit-justify-content: center;
   justify-content: center;
}

.nowrap  { 
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.wrap    { 
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}  

.wrap-reverse { 
  -webkit-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
}  

.social-icon {
	
	width: 100px;
	height: 100px;
}

.flex-item-home {
  width: 245px;
  height: 350px;
}   

.SA {
	justify-content: flex-start !important;
	
}
