html, body { height: 100%;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
} .cd-img-replace { display: inline-block;
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
}
.overflow-hidden {
overflow: hidden;
}
.posit_rel {
position: relative;
}
.posit_ab {
position: absolute;
} .cd-main-content { min-height: 100%;
position: relative;
background-color: #fff;
z-index: 2;
margin-top: 7%;
padding-top: 50px; -webkit-transform: translateZ(0);
-webkit-backface-visibility: hidden;
-webkit-transition-property: -webkit-transform;
-moz-transition-property: -moz-transform;
transition-property: transform;
-webkit-transition-duration: 0.4s;
-moz-transition-duration: 0.4s;
transition-duration: 0.4s;
}
.cd-main-content.lateral-menu-is-open { }
@media only screen and (min-width: 768px) {
.cd-main-content {
padding-top: 70px;
}
}
header {
position: fixed;
top: 0;
left: 0;
height: 165px;
width: 100%;
background: #fff;
z-index: 3;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
header.lateral-menu-is-open { }
header.sticky {
font-size: 24px;
line-height: 48px;
height: 60px;
background: #fff;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
header .d_none {
height: 50px;
position: relative;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
header.sticky .d_none {
display: none;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
header a img {
width: 100%;
height: auto;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
header.sticky a img {
width: 50%;
height: auto;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
@media only screen and (min-width: 768px) {
header {
height: 165px;
}
}
.top_logo_width{
width: 250px;
}
#cd-logo {
display: block;
float: left;
margin: 12px 0 0 20px;
width: auto;
}
#cd-logo img {
display: block;
}
@media only screen and (min-width: 768px) {
#cd-logo {
margin: 7px 0 0 0px;
}
.sticky #cd-logo {
margin: 7px 0 0 0px;
}
}
#cd-top-nav {
float: right;
position: relative;
top: 45px;
right: 50px;
height: 100%;
display: none;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
header.sticky #cd-top-nav {
float: right;
position: relative;
top: 0px;
right: 50px;
height: 100%;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
header.sticky #cd-top-nav ul {
height: auto;
padding-top: 5px;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
#cd-top-nav ul {
height: auto;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
#cd-top-nav li {
display: inline-block;
margin-right: 1em;
}
#cd-top-nav a {
display: inline-block;
font-family: 'Roboto', sans-serif;
color: #2e2e2e;
text-transform: capitalize;
font-weight: 400;
font-size: 18px;
text-decoration: none;
}
#cd-top-nav a.current {
background-color: #242e30;
}
.no-touch #cd-top-nav a:hover {
color: rgba(255, 255, 255, 0.7);
}
@media only screen and (min-width: 768px) {
#cd-top-nav {
display: block;
}
}
#cd-menu-trigger {
position: absolute;
right: 0px;
top: -5px;
height: 100%;
width: 50px;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
header.sticky #cd-menu-trigger {
position: absolute;
right: 0px;
top: -5px;
height: 100%;
width: 50px;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
#cd-menu-trigger .cd-menu-text {
height: 100%;
text-transform: uppercase;
color: #FFF;
font-weight: 600;
display: none;
}
#cd-menu-trigger .cd-menu-icon {
display: inline-block;
position: relative;
right: 0;
top: 0px;
bottom: 0;
right: 0;
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 18px;
height: 3px;
border-radius: 5px;
background-color: #2e2e2e;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
header.sticky #cd-menu-trigger.is-clicked .cd-menu-icon {
background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger .cd-menu-icon { display: inline-block;
position: absolute;
left: 50%;
top: 60%;
bottom: auto;
right: auto;
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 18px;
height: 3px;
border-radius: 5px;
background-color: #2e2e2e; }
#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {
content: '';
width: 100%;
height: 100%;
position: absolute;
background-color: inherit;
left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
bottom: 5px;
}
#cd-menu-trigger .cd-menu-icon::after {
top: 5px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
background-color: #2e2e2e;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
bottom: 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
top: 0;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
@media only screen and (min-width: 768px) {
#cd-menu-trigger {
padding-left: 1.25em;
}
#cd-menu-trigger .cd-menu-text {
display: inline-block;
line-height: 70px;
}
#cd-menu-trigger .cd-menu-icon {
left: auto;
right: 1.25em;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
}
#cd-lateral-nav {
position: fixed;
height: auto;
right:-260px;
top: 0;
visibility: hidden; z-index:99;
width: 260px;
background-color: #fff;
overflow-y: auto; -webkit-transform: translateZ(0);
-webkit-backface-visibility: hidden;
-webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
-moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
transition: transform .4s 0s, visibility 0s .4s; transition:all ease 1s;
-webkit-transition:all ease 1s;
-moz-transition:all ease 1s;
-ms-transition:all ease 1s;
max-height: 100%;
}
#cd-lateral-nav .cd-navigation {
margin: 10px 0 16px;
}
#cd-lateral-nav .sub-menu {
padding: 0 10px 20px 15px;
display: none;
}
#cd-lateral-nav a {
display: block;
line-height: 2em;
padding: 0 16px 0 32px;
color: #2e2e2e;
text-decoration: none;
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-size: 18px;
width:calc(100% - 40px);
}
#cd-lateral-nav a.current {
background-color: #3a4a4d;
color: #FFF;
}
#cd-lateral-nav .side-menu-close {
padding: 0 30px;
margin: 20px 0 0;
width: 22px;
font-size: 0px;
height: 22px;
display: block;
background: url(//www.adc.org/wp-content/themes/adc/images/close-icon.png) no-repeat center left 30px;
position: absolute;
top: 14px;
right: 0;
}
.no-touch #cd-lateral-nav a:hover {
color: #FFF;
}
@media only screen and (min-width: 768px) {
#cd-lateral-nav .cd-navigation {
margin: 20px 0;
}
}
#cd-lateral-nav.lateral-menu-is-open { visibility: visible;
-webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
-moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
transition: transform .4s 0s, visibility 0s 0s; -webkit-overflow-scrolling: touch;
right:0;
transition:all ease 1s;
-webkit-transition:all ease 1s;
-moz-transition:all ease 1s;
-ms-transition:all ease 1s;
}
#cd-lateral-nav h6{
padding-left: 30px;
padding-top: 30px;
} #cd-lateral-nav .item-has-children > a {
position: relative;
text-transform: uppercase;
font-weight: 600; }
#cd-lateral-nav .item-has-children > a::after {
content: '';
display: block;
height: 11px;
width: 8px;
position: absolute;
top: 50%;
bottom: auto;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
right: 1em;
background: url(//www.adc.org/wp-content/themes/adc/img/cd-arrow.svg) no-repeat center center;
background-size: 8px 11px;
-webkit-transition-property: -webkit-transform;
-moz-transition-property: -moz-transform;
transition-property: transform;
-webkit-transition-duration: 0.2s;
-moz-transition-duration: 0.2s;
transition-duration: 0.2s;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
-webkit-transform: translateY(-50%) rotate(90deg);
-moz-transform: translateY(-50%) rotate(90deg);
-ms-transform: translateY(-50%) rotate(90deg);
-o-transform: translateY(-50%) rotate(90deg);
transform: translateY(-50%) rotate(90deg);
}
#cd-lateral-nav .socials {
padding: 0 32px;
}
#cd-lateral-nav .socials:after {
content: "";
display: table;
clear: both;
}
#cd-lateral-nav .socials a {
height: 32px;
width: 32px;
float: left;
padding: 0;
background-image: url(//www.adc.org/wp-content/themes/adc/img/cd-socials.svg);
background-repeat: no-repeat;
background-size: 128px 64px;
background-color: #FFF;
margin-right: .5em;
border-radius: 0.25em;
}
#cd-lateral-nav .socials a.cd-twitter {
background-position: 0 0;
}
#cd-lateral-nav .socials a.cd-github {
background-position: -32px 0;
}
#cd-lateral-nav .socials a.cd-facebook {
background-position: -64px 0;
}
#cd-lateral-nav .socials a.cd-google {
background-position: -96px 0;
}
.no-touch #cd-lateral-nav .socials a:hover {
background-color: #4e6361;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-twitter {
background-position: 0 -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-github {
background-position: -32px -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-facebook {
background-position: -64px -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-google {
background-position: -96px -32px;
}
.dropbtn {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown i {
font-size: 18px;
padding-left: 2px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 260px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
padding-top: 0!important;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.dropdown-content li .dropdown-content {
right: 100%;
top: 0;
left: auto;
}
header.sticky .dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 260px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
padding-top: 0!important;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.dropdown-content li {
color: #2e2e2e;
padding: 8px 5px;
text-decoration: none;
display: block!important;
margin: 0!important;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
header.sticky .dropdown-content li {
color: #2e2e2e;
padding: 8px 5px;
text-decoration: none;
display: block!important;
margin: 0!important;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.dropdown-content li a {
color: #2e2e2e;
padding: 8px 5px;
text-decoration: none;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
line-height: normal;
font-size: 16px!important;
}
header.sticky .dropdown-content li a {
color: #2e2e2e;
padding: 8px 30px 8px 5px;
text-decoration: none;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
line-height: normal;
font-size: 16px;
}
.dropdown-content li:hover {
background-color: #ddd;
}
#cd-top-nav a:hover {
color: #CB2027;
}
#cd-lateral-nav a:hover {
color: #CB2027;
}
.dropdown:hover > .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #3e8e41;
}
.clear {
clear: both;
}
.bg_col {
background-color: #fff;
}
@media only screen and (max-width: 1004px) {
#cd-top-nav ul .dropdown {
display: none;
}
header .posit_rel #cd-menu-trigger {
top: 50% !important;
transform: translateY(-50%) !important;
-webkit-transform: translateY(-50%) !important;
-moz-transform: translateY(-50%) !important;
-ms-transform: translateY(-50%) !important;
}
header .posit_rel #cd-menu-trigger span {
top: 50% !important;
transform: translateY(-50%) !important;
-webkit-transform: translateY(-50%) !important;
-moz-transform: translateY(-50%) !important;
-ms-transform: translateY(-50%) !important;
}
header {
height: auto;
}
#cd-logo {
margin: 8px 0;
}
}
@media only screen and (max-width: 767px) {
#cd-logo {
margin: 8px 0;
}
}
@media only screen and (max-width: 767px) { .cd-main-content {margin-top:0;} header.sticky{height:auto;} }