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

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

body {
    font-size: 1em;
    line-height: 1.4;
}

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

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

.myButton {
	background-color:#44c767;
	border-radius:28px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	margin: 7px 0px 7px 0px;
	padding:16px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
	background-color:#5cbf2a;
}
.myButton:active {
	position:relative;
	top:1px;
}


/*
 * 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
 */

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;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */
@font-face {
    font-family: OpenSans;
    font-style: normal;
    src: url(../fonts/OpenSans.ttf), url(../fonts/OpenSans.woff);
}
body {
    color: #333;
    font-family: Tahoma;
}
img {
    max-width: 100%;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clrBoth {
	clear: both;
}
.center {
    text-align: center;
}
.wrapper {
	width: 100%;
}
.container {
	width: 80%;
    margin: 0 auto;
}
.blue-bar {
    height: 43px;
    background: #004d73;
    color: #fff;
    width: 100%;    
}
.email {
    margin-top: 8px;
}
.email a {
    color: #fff;
    text-decoration: none;
    margin-right: 7pt;
}
.social {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.social li {
    float: left;
    margin: 0 3px;
}
.social li a {
    color: #fff;
    text-decoration: none;
}
.social img {
    width: 25px;
}
.page-title {
    text-align: center;
    font-size: 2.2em;
    color: #006A19;
}
.tag {
    font-size: 13px;
    font-weight: normal;
    font-style: italic;
}
.left-panel {
    width: 73%;
    margin-right: 2%; 
    float: left;
}
.right-panel {
    width: 25%;
    float: left;
}
.contact-box {
    border: 1px solid #ddd;
    background: #f6f6f6;
    font-size: 14px;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.contact-box p {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.contact-box p.no-border{
    border-bottom: none;  
    margin: 0;
    padding-bottom:0;  
}
.contact-box a {
    color: #004D73;
    text-decoration: none;
}
.contact-box a:hover {
    color: #016698;
}
.click2contact {
    font-size: 18px;
    font-weight: 700;
    color: #006191;
    text-decoration: none;
}

.click2contact:hover {
    color: #004D73;
}
.areas p {
    margin: 5px 0;
}
.boximg {
    padding-top: 20px;
    text-align: center;
}

.footer {
    text-align: center;
    font-style: italic;
    font-size: 13px;
    clear:both;
}
// Ribbon
.ribbon {
 font-size: 16px !important;
 /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */

 width: 50%;
    
 position: relative;
 background: #ba89b6;
 color: #fff;
 text-align: center;
 padding: 1em 2em; /* Adjust to suit */
 margin: 2em auto 3em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
}
.ribbon:before, .ribbon:after {
 content: "";
 position: absolute;
 display: block;
 bottom: -1em;
 border: 1.5em solid #986794;
 z-index: -1;
}
.ribbon:before {
 left: -2em;
 border-right-width: 1.5em;
 border-left-color: transparent;
}
.ribbon:after {
 right: -2em;
 border-left-width: 1.5em;
 border-right-color: transparent;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
 content: "";
 position: absolute;
 display: block;
 border-style: solid;
 border-color: #804f7c transparent transparent transparent;
 bottom: -1em;
}
.ribbon .ribbon-content:before {
 left: 0;
 border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
 right: 0;
 border-width: 1em 1em 0 0;
}
.non-semantic-protector { position: relative; z-index: 1; margin: 20px 0;}
.ribbon {
    background: none repeat scroll 0 0 #BA89B6;
    color: #ffffff;
    min-height: 35px;
    margin: 0;
    padding-top: 10px;
    text-align: center;
    font-size: 15px;
    text-shadow: 1px 1px 1px #666;
	padding-bottom: 5px;
}








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * 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
 */

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

/*
 * Hide only visually, but have it available for screenreaders
 */

.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
 */

.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.
 */

.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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 320px) 
and (max-width : 480px) {
    .page-title {
        font-size: 1.2em;
    }
    .left-panel {
        width: 100%;
        float: none;
    }
    .right-panel {
        width: 100%;
        float: none;
    }
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */

}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 500px) {
/* Styles */
.social {
    margin: revert;
}

}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) {


.social {
    margin: revert;
}
	
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : landscape) {
/* Styles */

}

/* iPads (portrait) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : portrait) {
/* Styles */

}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1124px) {
    .container {

.social {
    margin: 8px 0 0;
}

}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */

.social {
    margin: 8px 0 0;
}


}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
}



/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        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; 
    }

    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;
    }
}

.button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 27px 35px;
    border: 1px solid #004263;
    border-radius: 8px;
    background: #2a5379;
    text-shadow: #00273b 1px 1px 1px;
    font: normal normal bold 35px arial;
    color: #ffffff;
    text-decoration: none;
    margin-top: 10px;
}
.button:hover,
.button:focus {
    border: 1px solid #004e75;
    background: #3273ab;
    color: #ffffff;
    text-decoration: none;
    margin-top: 10px;
}
.button:active {
    background: #004263;
    background: -webkit-gradient(linear, left top, left bottom, from(#004263), to(#004263));
    background: -moz-linear-gradient(top, #004263, #004263);
    background: linear-gradient(to bottom, #004263, #004263);
margin-top: 10px;
}

input, textarea {
  font-family: "source-code-pro", monospace;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.9em;
  transition: all 0.3s ease-in-out;
  width: 90%;
}

form input, form textarea {
  margin-bottom: 0.5em;
}

#sendemail {
    max-width: 350px;
    margin: auto;
}

nav {
    width: 100%;
    height: 500px;
    overflow: hidden;
    overflow-y: scroll;
}

textarea {
    min-height: 9em;}

/* ==========================================================================
   Live Search
   ========================================================================== */

.live-search-list {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 1em;
background-color: #2c3e50;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
font-family: 'Lato', sans-serif;
color: #fff;
}

.live-search-box {
width: 100%;
display: block;
padding: 1em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #3498db;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.live-search-list li {
color: fff;
list-style: none;
padding: 0;
margin: 5px 0;
}