/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}
a{cursor: pointer;}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author: Tyrone Stafford http://www.crayoncapsule.co.za
   ========================================================================== */


/* apply a natural box layout model to all elements */
/*-- credits to http://www.paulirish.com/2012/box-sizing-border-box-ftw/ --*/

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
 }


/*------------------------------------- @FONTFACE -----------------------*/
@font-face {
    font-family: 'custom';
    src: url('../fonts/texgyreadventor-regular-webfont.eot');
    src: url('../fonts/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/texgyreadventor-regular-webfont.woff') format('woff'),
         url('../fonts/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('../fonts/texgyreadventor-regular-webfont.svg#texgyreadventorregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: "icons";
  src:url("../fonts/icons.eot");
  src:url("../fonts/icons.eot?#iefix") format("embedded-opentype"),
    url("../fonts/icons.ttf") format("truetype"),
    url("../fonts/icons.svg#icons") format("svg"),
    url("../fonts/icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


/*------------------------------------- RESETS -----------------------*/
body{
    font-family: 'custom', Arial;
}
p{
    font-size: 12px;
    color: #7f8c8d;
}
.icons{
    font-family: 'icons', Arial!important;
    color: yellowgreen;
}
ul{
    margin: 0;
    padding: 0;
}
h3{
    margin: 0;
    padding: 0;
}
/*------------------------------------- COLOR GROUPS -----------------------*/
.white{color: #fff;}
.blue{color: #3498db;}
.red{color: #e74c3c;}
.green{color: #1abc9c;}
.blue{color: #3498db;}
.dark_grey{color: #2a3035;}

.white_bg{background: #fff;}
.blue_bg{background: #3498db;}
.red_bg{background: #e74c3c;}
.green_bg{background: #5ee7cc;}
.blue_bg{background: #3498db;}
.dark_grey_bg{background: #2a3035;}
/*------------------------------------- MENU SECTION -----------------------*/
#menu{
    position: fixed;
    z-index: 999;
    width: 100%;
}
.menu-item a{
    color: #666;
    text-decoration: none;
}
#quick_contact{
    position: absolute;
    right: 0;
    top: 0;
    padding: 28px;
    display: block;
}
    #quick_contact_mobi{
        display: none;
    }
nav ul li{
    display: inline-block;
    list-style-type: none;
    color: #666;
    padding: 10px;
    border-bottom: 2px solid transparent;
}
nav ul li .icons{
    color: #999;
    padding: 0 5px 0 0;
    font-size: 20px;
}
nav{
    background: #2a3035;
    
    -webkit-box-shadow: 0 3px 3px #222;
    -moz-box-shadow: 0 3px 3px #222;
    -o-box-shadow: 0 3px 3px #222;
    box-shadow: 0 3px 3px #222;
}
#logo h5{
    position: absolute;
    top: 40px;
    left: 310px;
    padding: 0;
    margin: 0;
    color: #2B3036;
}
/*------------------------------------- CONTENTWRAP -----------------------*/
#contentwrap{
    width: 1008px;
    margin: 128px auto 0 auto;
}
.img-sing{
    width: 220px;
    position: relative;
    bottom: -176px;
}
/*------------------------------------- CONTENT BLOCKS -----------------------*/
.block{
    height: 329px;/*285px;*/
    position: relative;
    padding: 3px;
    margin-bottom: 22px;
}

.single{
    width: 328px;/*284px;*/
}
.inner_single{
    width: 306px;/*262px;*/
    height: 315px;/*241px;*/
    position: relative;
    padding: 22px;
}
.inner_single .section_icon, .inner_double .section_icon{
    left: 0;
    top: 0;
}
.inner_single .section_heading, .inner_double .section_heading{
    top: 0;
    right: 0;
}
.inner_double{
    width: 635px;/*613px;*/
    height: 285px;
    position: relative;
/*    padding: 22px;*/
}
.double{
    width: 657px;/*613px;*/
}
.full{
    width: 1008px/*964px;*/
}
.divider{
    width: 22px;
    height: 1px;
}

.holder_generic{
    height: 100%;
}
.section_icon{
    position: absolute;
    top: 3px;
    left: 3px;
    
    font-size: 35px;
    padding: 20px;
}
.section_heading{
    position: absolute;
    right: 3px;
    top: 3px;
    margin: 0;
    padding: 0;
    padding: 10px 37px 10px 10px;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
}
.about_copy{
    padding: 100px 20px 20px 20px;
    width: 415px;
}
.inner_padding{
    padding: 100px 20px 20px 20px;
}
.services{
    width: 48%;
    padding: 5px 0 0 0;
}
.services ul{
    margin: 10px 0 0 22px;
}
.services ul li{
    font-size: 12px;
    color: #7f8c8d;
}
/*---------- SLIDER STUFF EVENTS -------*/
#slider1{
    position: relative;
}
.next, .prev{
    position: absolute;
}
.next{right: 0;}
.prev{left: 0;}
#holder{
    width: 100%;
    max-width: 1010px;
    margin: 0 auto;
    position: relative;
}

.slideshow{
    top: 100px;
}
.slideshow p{
    margin: 0;
}
.slider_img_holder{
    width: 651px;
}
.slider_txt_holder{
    padding: 100px 0 0 0;
}
.slider-img{
    height: 321px;
    width: 651px;
}
.next-event, .prev-event{
    font-family: 'icons';
    font-size: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: 100px;
    z-index: 10;
    cursor: pointer;
}
.next-event{right: 0;}
.prev-event{left: 0;}


/* ==========================================================================
   RATES STYLES
   ========================================================================== */
.rates span, .services span{
    font-weight: bold;
    font-size: 14px;
    color: #000;
}
/* ==========================================================================
   FORM STYLES
   ========================================================================== */
textarea{
    width: 100%;
    /*width: 96%;*/
/*    width: 46.5%;*/
    height: 266px;
    padding: 10px;
    resize: none;
}
input{
    width: 46.5%;
    margin: 0 3.5% 20px 0;
    padding: 10px 5px;
}
input[type=submit]{
    background: yellowgreen;
    color: white;
    border: none;
    width: auto;
    padding: 10px 30px;
    margin-right: 0;
    margin-top: 18px;
}
input[type=submit]:hover{
    background: #f1c40f;
}


/*===================================
    CONTACT OVERLAY STYLING
=====================================*/
.contact{
    position: relative;
}
.overlay{
    opacity: 0;
    text-align: center;
    position: absolute;
    padding: 140px 0 0 0;
/*    top: 22px;
    left: 22px;*/
    z-index: 0;
    width: 98.2%;
    height: 98.2%;
    background: rgba(26, 188, 156, 0.8);
    cursor: pointer;
    color: #fff;
}
.events li{
    display: none;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
.response_img{
    min-width: 100%;
    max-width: 100%;
}
/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.left{float: left;}
.right{float: right;}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 768px)  {
    #contentwrap{
        width: 90%;
/*        background: #3498db;*/
    }
    nav{
        height: 31px;
    }
    #logo h5{
        top: 60px;
        left: 104px;
        padding: 0;
        margin: 0;
        color: #eee;
        font-size: 10px;
    }
    #nav-desktop{
        display: none;
    }
    #quick_contact{
        display: none;
    }
    #quick_contact_mobi{
        display: block;
        position: absolute;
        right: 0;
        padding: 5px;
    }
    .img-sing{
        width: 100%;
        top: 80px;
    }
    .overlay{
        width: 98%;
        height: 98%;
    }
    .block{
    height: auto;
    position: relative;
    padding: 7px;
    margin-bottom: 22px;
    }

    .single{
        width: 100%;
    }
    .inner_single{
        width: 100%;
        height: 241px;
        position: relative;
        padding: 22px;
    }
    .inner_single .section_icon, .inner_double .section_icon{
        left: 0;
        top: 0;
    }
    .inner_single .section_heading, .inner_double .section_heading{
        top: 0;
        right: 0;
    }
    .inner_double{
        width: 100%;
        height: 285px;
        position: relative;
    }
    .double{
        width: 100%;
    }
    .full{
        width:100%;
    }
    .about_copy{
        width: 100%;
    }
    
    .slideshow-img-holder{
        width: 100%;
        height: 100%;
    }
    .slider-img{
        max-width: 100%;
        min-width: 100%;
    }
    textArea{
        width: 100%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
