/* CSS for serving the retina image to devices with a high "device-pixel-ratio" */
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
}

/*  EXTRA-LARGE (XL) Grid: 1200px+
    ---------------- */
@media only screen and (min-width: 1200px) {
    .slides .button{
        width: 10%;
    }
    .banner_text_wrapper {
        top: 30%;
    }
    #header {
        padding-top: 25px;
    }
    .fp_button p {
        color: #fff;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding-top: 40%;
        font-family: open-sans, arial, helvetica, sans-serif;
        font-weight: bold;
        font-size: 19px;
        width: 210px;
        line-height: 24px;
    }

}

/*  LARGE (L) Grid: 1024px - 1199px
    ---------------- */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    .slides .button{
        width: 10%;
    }
    .fp_button p {
        color: #fff;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding-top: 40%;
        font-family: open-sans, arial, helvetica, sans-serif;
        font-weight: bold;
        font-size: 16px;
        width: 160px;
    }
    .banner_text_wrapper {
        top: 30%;
    }

    .fp_button {
        height: 232px;
        width: 232px;
        border-radius: 146px;
    }
    #mainNav li a {
        font-size: 15px;
        padding: 23px 56px;
    }
    #header {
        padding-top: 25px;
    }
    .headerphone {
        position: absolute;
        top: 17px;
        left: -15px;
    }

}

/*  MEDIUM (M) Grid: 768px - 1023px
    ---------------- */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Widgets */
    #mainNav li a {
        font-size: 15px;
        padding: 23px 30px;
    }
    #header {
        padding-top: 25px;
    }

    .banner_text_wrapper {
        position: absolute;
        top: 20%;
    }
    .widget_form_row label {
        width: 100%;
        display: block;
    }
    .slides .button{
        width: 10%;
    }
    .fp_button {
        height: 167px;
        width: 167px;
        border-radius: 146px;
    }
    .fp_button p {
        color: #fff;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding-top: 58%;
        font-family: open-sans, arial, helvetica, sans-serif;
        font-weight: bold;
        width: 50%;
        line-height: 107%;
    }
    .widget_form_input {
        width: 100%;
    }

    /* Gallery */
    /* Categories */
    #content .gallery_cat_list li {
        margin-bottom: 10px;
    }

    #content .gallery_cat_list li a {
        width: 100%;
    }

    #content .gallery_cat_list li a:hover {
        width: 100%;
        margin: 0;
    }

    .gallery_cat_list li a:hover .gallery_title_label {
        font-size: 14px;
        line-height: 17px;
        font-weight: bold;
        height: 135px; /* Change the height to the height of the image */
    }

    /* Thumbs */
    #content .gallery_thumbs li,#content .gallery_thumbs li.gallery_last {
        width: 32.6%;
        margin-right: 1%;
    }

    #content .gallery_thumbs li.gallery_tab_last {
        margin-right: 0;
    }
    .headerphone {
        position: absolute;
        top: 21px;
        left: -15px;
    }
    #header .header_phone_number {
        float: right;
        text-align: right;
        padding-top: 8%;
    }
    .footer_left .multicolumn{
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

}

/*  Phone - all mobile sizes < 767px
    ---------------- */
@media only screen and (max-width: 767px) {
    html, body {
        font-size: 14px;
        line-height: 20px;
    }
    .logo{
        margin-top: 5px;
    }

    .banner_text_wrapper {
        top: 20%;
    }
    .mainNavContainer{
        display: none;
    }
    .buttoncontainer .grid_6{
        margin-top: 40px;
    }
    .banner_text h2 {
        font-size: 24px;
        line-height: 24px;
    }
    .flex-control-nav.container_24, #copy .flex-control-nav.container_24 {
        top: -22px;
    }
    .banner_text p {
        margin-bottom: 14px;
        font-size: 12px;
    }
    .fp_button p {
        color: #fff;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding-top: 58%;
        font-family: open-sans, arial, helvetica, sans-serif;
        font-weight: bold;
        width: 50%;
        line-height: 107%;
    }

    #footer ul li{
        text-align: center!important;
    }
    #footer .footer_left {
        text-align: center;
        margin-top: 20px;
    }
    #colophon{
        text-align: center;
    }
    #colophon ul li {
        display: block;
        text-align: center;
    }
    #colophon ul li:after{
        content: "";
    }
    .button{
        width: 80%;
    }

    .banner_text_wrapper {
        position: absolute;
        top: 28%;
    }
    .multicolumn {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    #homePage #menu_mobile {
        display : none;
    }

    .form_label {
        width   : auto;
        padding : 0;
    }

    .form_required {
        width   : 5%;
        padding : 5px 0 0 10px;
    }

    .form_field {
        width      : 100%;
        float      : none;
        margin-top : 0;
    }

    #header {
        height  : 50px;
        padding : 0;
        /*margin-bottom : 15px;*/
    }

    #header a.logo {
        height          : 50px;
        width           : 100px;
        background-size : 100% auto;
        float           : left;
        margin-bottom   : 0;
    }

    /* Gallery */
    #content .gallery_cat_list li {
        margin-bottom: 15px;
        width: 48%;
    }

    #content .gallery_cat_list li.gallery_middle {
        margin-right: 0;
        margin-left: 0;
    }

    #content .gallery_cat_list li.gallery_mob_last {
        margin-left: 4%;
    }

    .gallery_cat_list li a {
        background: none;
    }

    .gallery_cat_list li a:hover .gallery_title_overlay_container,.gallery_cat_list li .gallery_title_overlay_container {
        position: relative;
        display: block;
        text-align: left;
    }

    .gallery_cat_list li .gallery_title_overlay {
        display: block;
        text-align: left;
        padding: 0px;
    }

    .gallery_cat_list li a:hover .gallery_title_overlay {
        padding: 0px;
    }

    .gallery_cat_list li a:hover .gallery_title_label, .gallery_cat_list li .gallery_title_label {
        font-size: 14px;
        display: block;
        padding: 10px 0 2px 0;
        line-height: 17px;
        font-weight: bold;
        color: #000;
        text-align: left;
        height: auto; /* Change the height to the height of the image */
    }

    /* Thumbs */
    #content .gallery_thumbs li, #content .gallery_thumbs li.gallery_last, #content .gallery_thumbs li.gallery_tab_last {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 18px;
    }

    #content .gallery_thumbs li.gallery_mob_last {
        margin-right: 0;
    }
    .gallery_thumbs .gallery_caption {
        padding: 18px 0 0px;
    }
    .gallery_thumbs .gallery_caption h2 {
        margin-bottom: 10px;
    }

}

/*  SMALL (S) Grid: 480px - 767px
    ---------------- */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .banner_text_wrapper {
        position: absolute;
        top: 10%;
    }
    .fp_button {
        height: 183px;
        width: 183px;
        border-radius: 146px;
    }
    .banner_text h2 {
        font-size: 29px;
        line-height: 19px;
    }
}

/*  EXTRA-SMALL (XS) Grid: < 479px
    ---------------- */
@media only screen and (max-width: 479px) {

    /* Gallery */
    /* Thumbs */
    .socialmediaschizzle .fa{
        font-size: 200%;
        padding: 2%;
        margin-bottom: 5%;
    }

    .banner_text_wrapper {
        position: absolute;
        top: 10%;
    }

    .button{
        padding: 8px 17px !important;
    }
    .fp_button {
        height: 183px;
        width: 183px;
        border-radius: 91px;
    }
    .fp_button {
        background-color: #90b649;
        background-position: 50% 30%;
        background-repeat: no-repeat;
        height: 155px;
        width: 155px;
        border-radius: 146px;
        display: table-cell;
        vertical-align: middle;
        background-size: 40px auto;
    }
    .fp_button:hover {
        background-position: 50% 30%;
        background-size: 40px auto;
    }
    .fp_button p {
        color: #fff;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding-top: 42%;
        font-family: open-sans, arial, helvetica, sans-serif;
        font-weight: bold;
        width: 50%;
        line-height: 107%;
    }
    #content .gallery_thumbs li, #content .gallery_thumbs li.gallery_last, #content .gallery_thumbs li.gallery_tab_last {
        margin-bottom: 10px;
    }
    .gallery_thumbs .gallery_caption {
        padding: 10px 0 0px;
    }
    .gallery_thumbs .gallery_caption h2 {
        margin-bottom: 5px;
    }

}
