/*Mobile Styles*/

/*Break Points*/

@media only screen and (min-width: 980px) and (max-width: 1140px) {
    /* break point to fix home icons things */

li.cdg-icons-3.animated.fadeIn a, li.cdg-icons-7.animated.fadeIn a, li.cdg-icons-8.animated.fadeIn a {
    font-size: 15px;
}
}

@media only screen and (min-width: 980px) and (max-width: 1080px) {
    /* square displays */
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
    /* tablets */
.home .et_pb_slide .et_pb_container.clearfix {
    max-height: 380px!important;
    height: 380px!important;
}

.cdg-icons-6 br {
	display: initial;
}

.footer-widget:nth-child(n) {
    width: 100%!important;
}

div#custom_html-3 {
    float: left;
}

ul.cdg-footer-badges li {
    padding-right: 10px;
    width: 19%;
}

#footer-widgets .footer-widget .fwidget {
    margin-bottom: 6.21%;
}

.cdg-has-header-image h1 {
    text-align: center;
    margin-top: 0;
}

.cdg-has-header-image .et_pb_divider_0 {
	display: none;
}

.cdg-jobs-left {
    display: block;
    float: none;
    width: 100%;
    padding-right: 0;
}

.cdg-jobs-right {
    display: block;
    float: none;
    width: 100%;
}

.mobile_menu_bar:before {
    color: #c42021;
}
}

@media only screen and (max-width: 767px) {
    /* phones */
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
    /* portrait phones */
.home .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
    font-size: 26px!important;
}

.home .et_pb_slide .et_pb_container.clearfix {
    max-height: 380px!important;
    height: 380px!important;
}

.et_pb_module.et_pb_fullwidth_code.et_pb_fullwidth_code_0.cdg-home-blurbs {
    position: relative;
    width: 100%;
    top: 0px;
    font-size: 0;
    display: block;
    height: auto;
    overflow: hidden;
}

.cdg-icons-6 br {
	display: initial;
}

ul.cdg-icons li {
    display: inline-block;
    width: 50%;
    float: left;
    background-color: rgba(0,0,0,.4);
    min-height: 89px;
    vertical-align: middle;
    border-right: 1px solid rgba(240, 240, 240, .25);
}

ul.cdg-icons.bottom {
    position: relative;
    width: 100%;
    bottom: initial;
    font-size: 0;
}

li.cdg-icons-5.animated.fadeIn a {
    padding: 10px 20px 11px 20px;
    border-top: 0!important;
}

li.cdg-icons-6.animated.fadeIn a {
    border-top: 0!important;
}

ul.cdg-footer-badges li {
    display: inline-block;
    vertical-align: middle;
    padding-right: 0px;
    width: 46%;
}

.et_header_style_left .logo_container {
    position: relative;
    width: 100%;
    height: 100%;
}

img#logo {
    display: block;
    margin: 0 auto;
}

.home .et_pb_slides .et_pb_slide_1.et_pb_slide .et_pb_slide_description {
    padding-right: 22px;
    margin-left: 0;
}

.cdg-has-header-image h1 {
    text-align: center;
    margin-top: 0;
}

.cdg-has-header-image .et_pb_divider_0 {
	display: none;
}

.cdg-jobs-left {
    display: block;
    float: none;
    width: 100%;
    padding-right: 0;
}

.cdg-jobs-right {
    display: block;
    float: none;
    width: 100%;
}

div#cdg-home-icons {
    margin-bottom: -20px;
}

a.cdg-building-reports-button {
    text-align: left;
}

img.alignright.size-full.wp-image-136 {
    display: block!important;
    clear: both!important;
    float: none;
    margin: 0 auto 30px;
}

#main-header .container.clearfix.et_menu_container {
    width: 95%;
    display: block;
    margin: 0 auto;
}

.mobile_menu_bar:before {
	color: #c42021;
}

.cdg-header-stuff {
    padding-bottom: 20px;
    text-align: left;
    font-size: 15px;
    padding-right: 50px;
    color: #141414;
    clear: left;
    z-index: 99999!important;
    position: relative;
}
}
