@media screen and (max-width: 980px) {
#welcomerow {
    background-size: auto 100% !important;
}

#revrow {
    margin-top: 0 !important;
}

#telinfo, #telinfo a {
    display: none !important;
}

#logo {
    margin-top: 0 !important;
}

#logo {
    max-height: 75% !important;
}

.et_mobile_menu li li {
    float: left;
    width: 100%;
}

.et_mobile_menu .menu-item-has-children > a {
    float: left;
    width: 100% !important;
}

.sub-menu {
    margin-top: 0 !important;
}
}

.et_pb_gallery_image {
 padding-top: 65% !important;
 }
 .et_pb_gallery_image img {
 position: absolute;
 height: 100%;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 object-fit: cover;
 }
.et_pb_gallery_0 .et_pb_gallery_item {
    padding: 15px;
    background: #fff;
}

#rev_slider_26_1_wrapper {
    border: 20px solid #fff;
}

.forcefullwidth_wrapper_tp_banner {
    margin-bottom: 40px !important;
}

#logo {
    margin-top: 35px;
}

.et-fixed-header #logo {
    margin-top: 0px;
}


/* No greater than 900px, no less than 400px */
@media (max-width:1305px) and (min-width:980px) {

.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
    padding-left: 0 !important;
    padding-right: 3px !important;
}

.x-navbar .desktop .x-nav > li > a > span {
    padding: 10px 7px !important;
}

}

/* LAST EDITS */

#telinfo, #telinfo a {
    font-size: 0 !important;
}

.mfp-figure .mfp-img {
    padding: 0px !important;
    border: 4px solid #0F75BC;
    background: #fff;
}

.mfp-figure figure {
    padding: 15px;
    background: #fff;
}

.mfp-counter {
    top: 40px;
    right: 0;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    right: -10px;
    margin-top: -40px;
}

/* .LAST EDITS */



sup {
    font-size: 10px;
}

.footer-widget img {
    margin-top: 5px;
    border: 3px solid #0F75BC;
}

hr {
    border-top: 1px solid rgb(21,109,203);
    margin: 1em 0;
    height: 1px;
    color: rgb(21,109,203);
    display: block;
}

h1, h2, h3, h4, h5 {
    color: rgb(21,109,203) !important;
}

.sub-menu {
    margin-top: -35px;
}

.et-fixed-header .sub-menu {
    margin-top: 0px;
}

.et_pb_gallery_image.landscape {
    padding: 15px;
    background: #fff;
}

#boxedtext {
    border: 3px solid #0F75BC;
    padding: 20px;
}

#bordercol {
    background: #fff;
    padding: 20px;
}

#text-4 h4, #text-5 h4 {
    color: #222 !important;
}

.wpcf7-form-control.wpcf7-text {
    border-color: #0F75BC;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 395px;
    text-align: center;
}

.wpcf7-form-control.wpcf7-textarea {
    border-color: #0F75BC;
    width: 100%;
    max-width: 395px;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
}

.wpcf7-form-control.wpcf7-submit {
    background: #0F75BC;
    border: none;
    color: #fff;
    padding: 12px 25px;
    font-size: 15px;
}