/** header **/

.custom-header {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: block;
    padding: 0px 0px;
    min-height: 115px;
}

.custom-header-logo {
    float: left;
    margin: 15px 0px;
}

.custom-header-headline {
    float: right;
    margin: 16px 0px 16px;
    text-align: right;
}

.custom-header-headline span{
    font-size: 24px;
    color: #0972b9;
    font-weight: bold;
    margin-left: 6px;
}

.custom-header-headline span a{
    color: #0972b9;
    font-size: 18px;
}

#main-header .container{
    width: 100%;
    max-width: none;
    background: url(/wp-content/uploads/2016/07/btn-bg.jpg);
    background-position: center center;
    background-repeat-y: no-repeat;
}

.custom-menu {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: block;
    position: relative;
}

.custom-menu a {
    color: #fff !important;
    font-weight: normal;
    text-transform: uppercase;
}

#et-top-navigation{
    float: left;
}

.et_header_style_left #et-top-navigation{
    padding-top: 15px !important;
    padding-left: 0px !important;
}

.et_header_style_left #et-top-navigation nav > ul > li > a{
    padding-bottom: 12px !important;
}

#et_top_search {
    color: #fff !important;
    position: absolute;
    right: 0;
}

.et_search_outer .container{
    background: #fff !important;
}

/** content **/

.home .et_pb_section_0 .video-testi iframe{
    border: 6px solid #00a3e2;
    height: 300px;
    margin: 40px 0px;
}

.home .et_pb_section_0 .video-testi .fluid-width-video-wrapper {
    max-width: 525px !important;
    max-height: 296px !important;
    float: right;
}

.home .et_pb_section_5 .video-testi iframe{
    border: 2px solid #00a3e2;
}

.five-col-con {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.vb_vids .fluid-width-video-wrapper {
    height: 128px !important;
    padding-top: 0 !important;
    border: 3px solid #00a3e2;
}


.five-col {
    min-height: 232px !important;
    margin: 10px auto;
}
.five-col .icon-col {
    max-width: 100%;
    display: inline-block;
    width: 18%;
    min-height: 180px !important;
}

.icon-col {
    float: left;
    margin: 7px 7px 7px;
    padding: 3px;
}

.icon-col h3 {
    text-align: center;
    color: #0972b9;
    font-weight: bold;
    font-size: 21px;
    line-height: 1.3em;
}

.icon-col img {
    margin: 0 auto;
    display: block;
}


/** home contact and optin **/

input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus{
    border: 1px solid #00a2e1;
}

.free-quote-optin {
    height: auto;
    overflow: hidden;
}

.free-quote-optin p {
    float: none;
    display: inline-block;
    width: 30.333%;
    margin-left: 1%;
}

.free-quote-optin .wpcf7-text {
    width: 100%;
    max-width: 100% !important;
    padding: 10px 11px !important;
    border: 1px solid #eeeeee;
    margin: 0 !important;
    float: left;
}

.free-quote-optin .wpcf7-submit {
    width: 100%;
    max-width: 100% !important;
    background: url(/wp-content/uploads/2016/07/btn-bg.jpg);
    border: 0px;
    padding: 9px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    top: 2px;
}

.free-quote-optin-mes p {
    float: none;
    display: inline-block;
    width: 48%;
    margin-left: 1%;
}

.free-quote-optin-mes .right{
float:right;
}

.free-quote-optin-mes .wpcf7-textarea{
height:93px;
}

.free-quote-optin-mes .wpcf7-text {
    width: 100%;
    max-width: 100% !important;
    padding: 10px 11px !important;
    border: 1px solid #eeeeee;
    margin: 0 0 10px 0 !important;
    float: left;
}

.free-quote-optin-mes .wpcf7-submit {
    width: 100%;
    max-width: 100% !important;
    background: url(/wp-content/uploads/2016/07/btn-bg.jpg);
    border: 0px;
    padding: 9px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    top: 2px;
}

.bm-optin {
    margin: 6px 0px;
    height: 342px;
}

.bm-optin img {
    margin-bottom: 23px;
}

.bm-optin .wpcf7-text {
    width: 100%;
    max-width: 355px;
    margin: 2px 0px 0px;
    padding: 8px 18px !important;
    color: #999999;
    font-size: 14px;
    border: 1px solid #eeeeee;
}

.bm-optin .wpcf7-submit {
    width: 100%;
    background: url(/wp-content/uploads/2016/07/btn-bg.jpg);
    border: 0px;
    padding: 9px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

.privacy-optin {
    font-size: 13px;
    color: #666666;
    text-align: center;
    margin-bottom: 10px;
}

#wpcf7-f78-p2-o1 span.wpcf7-not-valid-tip {
    border: 1px solid;
    padding: 7px 28px;
    margin: 0px 24px 0px 0px;
    float: left;
}

#wpcf7-f78-p2-o1 .wpcf7-response-output {
    float: right;
    color: #fff;
    width: 431px;
    padding-top: 0px;
    text-align: center;
    margin: 0px 43px 0px 0px;
    padding: 6px 0px;
}

#wpcf7-f125-p2-o2 span.wpcf7-not-valid-tip{
    border: 1px solid;
    text-align: center;
    margin-top: 9px;
}

#wpcf7-f125-p2-o2 .wpcf7-response-output {
    margin-top: 80px !important;
    text-align: center;
    padding: 6px 30px !important;
    margin-bottom: 0px !important;
}

/** footer widget **/

#footer-widgets{
    padding-top: 42px;
}

.search-no-results #footer-widgets {
    padding-bottom: 59px !important;
}

#footer-widgets #nav_menu-2, #footer-widgets #text-3 {
    width: 100%;
    display: block;
    margin: 14px auto;
}

#footer-widgets #nav_menu-2 a:hover {
    color: #0972b9;
    font-size: 14px;
}

#footer-widgets #text-2{
    width: 100%;
    display: block;
    margin: 24px auto 20px;
}

#footer-widgets #nav_menu-2, #footer-widgets .textwidget {
    text-align: center;
}

#footer-widgets .footer-widget li:before {
    display: none;
}

#footer-widgets .footer-widget li {
    padding-left: 0px;
    margin: auto 5px;
    text-transform: uppercase;
}

ul#menu-footer-widget-menu li {
    display: inline-block !important;
}

#text-3 span {
    font-size: 24px;
    color: #0972b9;
    font-weight: bold;
    margin: 0px 30px 0px 11px;
}

#text-3 span a {
    font-size: 18px;
    color: #0972b9;
}

#text-3 a{
    color: #00a3e2;
}

#footer-bottom a{
    color: #ffffff !important;
    font-weight: normal;
}

#footer-info-right {
    float: right;
    color: #00ace8;
}

/** footer **/

#footer-bottom .container{
     width: 100%;
}
