/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
}

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

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

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

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


body {
    font: 16px/1.5em Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}



/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

}

nav a:hover,
nav a:visited {
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
	font-size: 14px;
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    padding: 0px 0 8px 4%;
}

.footer-container footer {
    text-align: center;
	font-size: 12px;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {background: #000;}
h1, h2, h3 {color: #7ac143;}
p {color: #fff;}
.pink {color: #ca026a;}

.main {padding: 0;}
.main header {padding-top: 30px;}
.main article h1 {font-weight: normal; font-size: 38px; line-height: 1em; margin-bottom: 0.3em;}
header p {font-size: 20px; color: #fff; line-height: 1em;}
header {margin-bottom: 3em;}
header .logo img {width: 280px;}

article p {margin-bottom: 2em;}

article footer {background: #e8f3de; padding: 0.5em 1em; margin-bottom: 1em; 
border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;}
article footer p {color: #000;}

.slideshow {background:#7ac143; text-align: center; padding: 1em; margin-bottom: 10px;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
}
.slideshow h3 {text-align: right; color: #fff; font-size: 36px; font-weight: normal; margin-bottom: 10px;}
.slideshow p {text-align: right; color: #fff; }
.slideshow a {color: #fff; text-decoration: none;}
.cycle-slideshow {margin: 0 auto;}
.cycle-slideshow  img{width: 100%;}
#alt-caption {color: #fff; text-align: left; padding: 30px 0 15px 0; font-size: 18px; height: 50px;}
#slideshow img { display: none } /* hide all images on load */
#slideshow img.first { display: block } /* only show first image on load */

aside ol {margin-bottom: 23px;}
aside ol li {color: #7ac143; font-weight: bold; padding: 10px 0;}
aside ol li span{color: #fff;  font-weight: normal;}

.footer-container h3 {font-size: 1.5em;}
.footer-container p {line-height: 1.5em;}
.footer-container a {text-decoration: none; color: #fff;}

.social-icon {margin: 0 5px;}





/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {


/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }


/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

	header .logo img {width: 300px;}


/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 46%;
    }

    .main aside {
        float: right;
        width: 46%;
    }
}

@media only screen and (min-width: 990px) {

	header .logo img {width: 390px;}

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 900px; /* 990px - 10% for margins */
        margin: 0 auto;
    }
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }

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

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

/* form CSS from http://codecanyon.net/item/ultimate-php-html5-ajax-contact-form/10017468 */


/* Message boxes */
.ucf .message { margin-bottom: 20px; }
.ucf .message p { font-weight: bold; margin-top: 0; }
.ucf .message p:last-child { margin-bottom: 0; }
.ucf .message ul { margin-bottom: 0; }
/* Error message box */
.ucf .message .errors { background: #fff; border: solid 1px #ccc; border-left: solid 10px #d9534f; border-radius: 5px; padding: 20px; }
.ucf .message .errors p { color: #d9534f; }
/* Success message box */
.ucf .message .success { background: #fff; border: solid 1px #ccc; border-left: solid 10px #5cb85c; border-radius: 5px; padding: 20px; }
.ucf .message .success p { color: #5cb85c; }

/* Form */
.ucf * { outline: none; color: #000;}
.ucf h2{color: #fff;}
.ucf fieldset { border: solid 1px #7ac143; border-radius: 10px; background: #7ac143;}
.ucf legend { font-weight: bold; padding: 10px; }
.ucf .field-wrapper { clear: both; margin-top: 0; line-height:2em; }
.ucf .field-wrapper label span { display: inline-block; float: left; width:100px; }
.ucf .field-wrapper input[type=text],
.ucf .field-wrapper input[type=tel],
.ucf .field-wrapper input[type=email],
.ucf .field-wrapper input[type=password],
.ucf .field-wrapper textarea,
.ucf .field-wrapper select { border: solid 1px #ccc; border-radius: 5px; padding: 10px; transition: all .3s ease-in-out; }
.ucf .field-wrapper input[type=text]:focus,
.ucf .field-wrapper input[type=tel]:focus,
.ucf .field-wrapper input[type=email]:focus,
.ucf .field-wrapper input[type=password]:focus,
.ucf .field-wrapper textarea:focus,
.ucf .field-wrapper select:focus { border: solid 1px #333; -webkit-transform: scale(1.05); -moz-transform: scale(1.05); transform: scale(1.05); }
@media ( max-width: 480px ){
	.ucf fieldset { padding: 10px; }
	.ucf .field-wrapper { margin-bottom: 10px; }
	.ucf .field-wrapper input[type=text],
	.ucf .field-wrapper input[type=tel],
	.ucf .field-wrapper input[type=email],
	.ucf .field-wrapper input[type=password],
	.ucf .field-wrapper textarea { width: 150px; }
	.ucf .field-wrapper select { width:170px; }
}
@media ( min-width: 481px ){
	.ucf fieldset { padding: 20px; }
	.ucf .field-wrapper { margin-bottom: 20px; }
	.ucf .field-wrapper input[type=text],
	.ucf .field-wrapper input[type=tel],
	.ucf .field-wrapper input[type=email],
	.ucf .field-wrapper input[type=password],
	.ucf .field-wrapper textarea { width: 200px; }
	.ucf .field-wrapper select { width:220px; }
}

/* Select 2 overrides */
.select2-container .select2-choice { background-image: none; padding: 0 10px; }
.select2-container .select2-drop-active { border: solid 1px #fff; }
.select2-container .select2-choice .select2-arrow,
.select2-dropdown-open .select2-choice { background-color: #fff; background-image: none; }
.select2-dropdown-open .select2-choice { background-color: #fff; }
.select2-container .select2-choice abbr { background: url('../img/select2.png') right top no-repeat; }
.select2-container .select2-choice .select2-arrow b { background: url('../img/select2.png') no-repeat 0 1px; }
.select2-search input { background: #fff url('../img/select2.png') no-repeat 100% -22px; }
html[dir="rtl"] .select2-search input { background: #fff url('../img/select2.png') no-repeat -37px -22px; }
.select2-search input.select2-active { background: #fff url('../img/select2-spinner.gif') no-repeat 100%; }
.select2-more-results.select2-active { background: #f4f4f4 url('../img/select2-spinner.gif') no-repeat 100%; }
.select2-container-multi .select2-choices .select2-search-field input.select2-active { background: #fff url('../img/select2-spinner.gif') no-repeat 100% !important; }
.select2-search-choice-close { background: url('../img/select2.png') right top no-repeat; }
.select2-drop-active,
.select2-drop.select2-drop-above.select2-drop-active,
.select2-container-active .select2-choice,
.select2-container-active .select2-choices,
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices,
.select2-container-multi.select2-container-active .select2-choices { border: 1px solid #333; -webkit-box-shadow: none; box-shadow: none; }
.select2-drop-active { border-top: 0; }

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx)  {
	.select2-search input,
	.select2-search-choice-close,
	.select2-container .select2-choice abbr,
	.select2-container .select2-choice .select2-arrow b {
		background-image: url('../img/select2x2.png') !important;
	}
}
@media ( max-width: 480px ){
	.select2-container .select2-choice { width: 150px; }
}
@media ( min-width: 481px ){
	.select2-container .select2-choice { width: 200px; }
}

/* Google no CAPTCHA reCAPTCHA */
@media ( max-width: 480px ){
	.g-recaptcha{ margin-bottom: 10px; }
}
@media ( min-width: 481px ){
	.g-recaptcha{ padding-left: 30px; margin-bottom: 20px; }
}

/* Honey trap field */
.ucf .hey-honey { left: -9999px; position: absolute; }

/* Button */
.ucf button[type=submit] { background: #c2262d; border: 0; border-radius: 5px; color: #fff; cursor: pointer; font-size: 1em; font-weight:bold; margin-left: 25px; padding: 10px 15px; transition: background .3s; }
.ucf button[type=submit]:hover { background: #c2262d; }
.ucf button[type=submit].complete { background: #dff0d8; cursor: default; }

