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

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Custom styles
   ========================================================================== */
body { background-color: #888; font-family: Helvetica, Arial, Verdana}
header { min-width: 1100px; width: 100%; background-color: #4d4d4d; height: 110px; padding-top: 16px; margin-bottom: 3px;}
header .panel { width: 300px; color: #fff; font-family: Helvetica, Arial, verdana; font-weight: lighter; text-align: right; font-size: 16px; margin-right: 70px; float: left; }
header .adpanel { background-color: #fff; width: 730px; height: 90px; float: left; }
header .panel img { margin-bottom: 5px; }

footer { clear: both; min-width: 1100px; width: 100%; background-color: #4d4d4d; height: 105px; padding-top: 15px; }
footer .adpanel { background-color: #fff; width: 730px; height: 90px; float: left;}
footer .panel { float: right; text-align: right; font-size: 11px; line-height: 13px; color: #eee;}
footer .subpanel { font-size: 9px; line-height: 10px; margin-top: 5px; color: #999;}
footer .panel img { margin-bottom: 4px;}

.adpanel-mrec { width: 300px; height: 250px; border: 1px solid #888; background-color: #fff;}

.inner { width: 1100px; margin: 0 auto;  }

h1 { font-family: Helvetica, Arial, verdana; font-weight: lighter; margin: 0.67em 0 0.1em; color: #999999;}
h2 { font-family: Helvetica, Arial, verdana}

nav { min-width: 1100px; width: 100%; background-color: #ff0101; height: 22px; box-shadow: 10px 10px 5px #888888;
-webkit-box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.14);-moz-box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.14);box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.14);}

nav ul { margin: 0; padding: 0; list-style: none; width: 1100px; margin: 0 auto; border-left: 1px solid #d01d21; height: 22px; }
nav li { float: left; }
nav li a { padding: 3px 25px; border-right: 1px solid #d01d21; font-size: 12px; text-decoration: none; color: #fff; font-family: Helvetica, Arial, verdana; }
.background { background-color: #f2f2f2; }


.main-box { width: 800px; min-height: 520px; padding-bottom: 15px; float: left; }



#front-page h1, #photos h1, #photos-list h1 { width: 764px; font-size: 20px; font-family: Helvetica, Arial, verdana; font-weight: lighter; color: #F5F5F5; text-shadow: 2px 2px #666; padding: 2px 8px 0px; margin-bottom: 0;
/*gradient*/
background: #777777; /* Old browsers */
background: -moz-linear-gradient(top,  #777777 0%, #7a7a7a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#777777), color-stop(100%,#7a7a7a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #777777 0%,#7a7a7a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #777777 0%,#7a7a7a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #777777 0%,#7a7a7a 100%); /* IE10+ */
background: linear-gradient(to bottom,  #777777 0%,#7a7a7a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#777777', endColorstr='#7a7a7a',GradientType=0 ); /* IE6-9 */
/*shadow*/
	-webkit-box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	-moz-box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
}


#photos .hero, #photos-list .hero {
	width: 360px; height: 280px;
	height: 280px;
	overflow: hidden;
	float: left;
	margin-left: 4px;
}

#photos .hero img, #photos .hero-support img,
#photos-list .hero img, #photos-list .hero-support img,
#contact-us .col img
{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#photos .other-images, #photos-list .other-images { padding-left: 8px;  float: left; width: 390px;}
#photos .hero-support, #photos-list .hero-support { width: 120px; height: 135px; overflow: hidden; float: left; margin-right: 8px; margin-bottom: 10px; }

.col {	background-color: #fff;	width: 362px; min-height: 475px; float: left; padding: 17px 9px 14px 9px;
	-webkit-box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	-moz-box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	
}
#photos-list .col, #photos .col { min-height: 0; margin-bottom: 20px;}
.col-full { width: 762px;}

.col img{ 
	-webkit-box-shadow: 2px 3px 3px 0px rgba(115,115,115,0.39);
	-moz-box-shadow: 2px 3px 2px 0px rgba(115,115,115,0.39);
	box-shadow: 2px 3px 3px 0px rgba(115,115,115,0.39);
	
}

.col { font-size: 14px; }
.col h2 { font-weight: bold; font-family: Arial, Helvetica, Verdana; color: #4e4e4e; font-size: 23px; border-bottom: 2px solid #9f9f9f; padding-bottom: 3px; margin-bottom: 0px; margin-top: 8px;}
.col h3 { font-weight: bold; font-family: Arial, Helvetica, Verdana; color: #4e4e4e; font-size: 23px; border-bottom: 2px solid #9f9f9f; padding-bottom: 3px; margin-bottom: 0px; margin-top: 10px;}
.col p.feature { font-size: 12px; line-height: 15px; color: #9f9f9f; margin-top: 8px; font-weight: bold; margin-bottom: 0px; text-align: justify}
.col p { font-size: 12px; line-height: 14px; color: #444;  margin-top: 8px; margin-bottom: 0px; text-align: justify;}
.col1 { margin-right: 20px;}
.col2 p.feature { font-size: 12px; line-height: 14px;}
.col2 h2 { margin-top: 0}
.col .left-img { float: left; margin: 10px 22px 8px 0;}
.col .right-img { float: right; margin: 10px 1px 8px 22px;}
.col.extra-padding { padding: 20px 20px 0 20px; width: 742px}
.col.no-padding { padding: 0px; width: 782px}
.col h2.red, h2.red { color: #ff0101; border-bottom: none; font-size: 21px; font-weight: normal; margin: 0 0 15px 0; padding: 0;}
.lrg-font p, .lrg-font { font-size: 18px; line-height: 24px;}


#services .col1, #services .col2, #services .col3 { width: 200px; float: left; padding-top: 10px; margin-right: 65px; }
#services .col3 { margin-right: 0;}
#services h2 { width: 180px; padding: 2px 10px; background-color: #fe0000; border-bottom: none;  color: #fff; font-size: 14px; margin-top: 0;}
#services h2 span { font-size: 9px; font-family: Helvetica, Arial, Verdana; font-weight: lighter; letter-spacing: -0.2px;}
#services .col ul { list-style: none; margin: 8px 0 14px 10px;; padding: 0; font-size: 12px; }
#services .col ul li { padding: 0; margin: 0; line-height: 16px; }


#contact-us .left-content { width: 350px; float: left; margin-right: 50px; margin-bottom: 42px; }
#contact-us .content1 p{ font-size: 12px ; font-family: Helvetica, Arial, Verdana; font-weight: bold; line-height: 16px; color: #999; margin-bottom: 15px;text-align: left;}
#contact-us .content2 p{ font-size: 12px; font-family: Helvetica, Arial, Verdana; font-weight: lighter; line-height: 15px; color: #000; letter-spacing: -0.2px; text-align: left;}
#contact-us  img { border: 1px solid #b3b3b3}
#contact-us .right-content { border: 1px solid #b3b3b3; float: left;width: 335px;margin-bottom: 42px;}
#contact-us .right-content  { }
#contact-us .right-content .details { padding: 10px;}
#contact-us .right-content .details a { background-color: #f1f1f1; border: 1px solid #e3e3e3; font-size: 10px; text-decoration: none; color: #676767; padding: 0 6px; margin: 6px 0; display: inline-block}
#contact-us .address { font-size: 10px; line-height: 18px; padding-top: 3px; font-family: Helvetica, Arial, Verdana;}
/*
	Right - bottom
	-webkit-box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	-moz-box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
	box-shadow: 2px 3px 5px 0px rgba(115,115,115,0.49);
		
 
	Right
	-webkit-box-shadow: 2px 0px 5px 0px rgba(115,115,115,0.49);
	-moz-box-shadow: 2px 0px 5px 0px rgba(115,115,115,0.49);
	box-shadow: 2px 0px 5px 0px rgba(115,115,115,0.49);	
	 
	Bottom
	-webkit-box-shadow: 0px 3px 5px 0px rgba(115,115,115,0.49);
	-moz-box-shadow: 0px 3px 5px 0px rgba(115,115,115,0.49);
	box-shadow: 0px 3px 5px 0px rgba(115,115,115,0.49);
*/

.side-panel { float: left; width: 300px;; }
.side-panel .heading { color: #fe0000;font-family: Helvetica, Arial, verdana; font-weight: lighter; margin-top: 8px; font-weight: bold;}

.side-panel .form-element { font-size: 10px; color: #000; float: left; width: 127px;margin-right: 5px; margin-top: 9px;}
.side-panel .form-element label { display: block; padding-left: 1px;}
.side-panel input[type=text], .side-panel input[type=password]{ font-size: 10px; border: 1px solid #000; padding: 3px 4px 3px; margin-top: 0px; background-color: #ccc}
.side-panel input[type=submit] { font-size: 10px; border: 1px solid #000; padding: 3px 4px 3px; margin-top: 28px;}

.side-panel .facebook { float: right; margin-top: 15px; margin-right: 1px; width: 142px; padding-top: 3px;}
.side-panel .months12 { margin-top: 15px; float: left;}
.side-panel .photos { margin-top: 15px; float: left;}

.side-panel .el-col1 { width: 150px; }
.side-panel .el-col2 { width: 105px; }
.side-panel .el-col1 input[type=text] { width: 130px; }
.side-panel .el-col2 input[type="password"] { width: 90px !important; }

.side-panel .adpanel-mrec { margin-top: 12px; }

form label { display: inline-block; width: 100px; font-size: 14px; }
form input[type=text] { margin-bottom: 3px; width: 393px; font-size: 14px; padding: 4px 6px; }
input[type=submit].subscribe { background-color: #d01d21; color: #fff; border: 1px solid #d01d21; padding: 5px 17px; font-size: 14px; }
form p { font-size: 14px !important; text-align: left !important;}


.loggedin { border: 1px solid #888; padding: 10px; background-color: #fff; margin-top: 70px; font-size: 12px; text-align: center}
a { color: #A92022; text-decoration: none;}
a:hover { color: #E40017;}
nav a:hover { color: #fff;}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

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

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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 the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

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