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

html,
button,
input,
select,
textarea {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #543;
}

body,html {
	min-height: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    font-size: 0.8125em;
    line-height: 1.5;
	background: #ffb655;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYjY1NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZGMzNTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ffb655 0%, #edc350 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb655), color-stop(100%,#edc350));
	background: -webkit-linear-gradient(top,  #ffb655 0%,#edc350 100%);
	background: -o-linear-gradient(top,  #ffb655 0%,#edc350 100%);
	background: -ms-linear-gradient(top,  #ffb655 0%,#edc350 100%);
	background: linear-gradient(to bottom,  #ffb655 0%,#edc350 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb655', endColorstr='#edc350',GradientType=0 );
}

a {
    color: #E38100;
}

a:hover {
    text-decoration: none;
	color: #F96C4B;
}

::-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,
img,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
 * Base layout
 */

.site {
    padding: 15px;
}

.site__wrapper {
    width: 976px;
    margin: auto;
    border-radius: 10px;
}

.site__header {
    background: transparent url('../img/system_bg.jpg') no-repeat center top;
	width: 976px;
	height: 112px;
}

.logotype {
    margin: 0;
    float: left;
    position: relative;
    left: 60px;
	width: 211px;
	height: 112px;
	background: transparent url('../img/system_logo.jpg') no-repeat top  left;
}

.logotype__link {
    display: block;
    width: 210px;
    height: 110px;
    background: url(../img/logo.png) 0 0 no-repeat;
}

/* Navigation */

.navigation { }

.navigation__layout {
    margin: 0;
    padding: 0;
}

.navigation__item {
    float: left;
	font-size: 80%;
}

.navigation__link {
    color: #fff;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #EB9E16;
    text-decoration: none;
    display: block;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.navigation__link:hover {
    color: #fff;
}

.navigation__title {
    position: relative;
}

/* Primary navigation */

.navigation--primary {
    float: right;
}

.navigation--primary .navigation__link {
    height: 69px;
	margin-top: 3px;
    padding: 40px 12px 0px 12px;
	background: rgba(255, 182, 85, 0.4);
    -webkit-transition: all 0.3s ease 0;
    -moz-transition: all 0.3s ease 0;
    transition: all 0.3s ease 0;
}

.navigation--primary .navigation__link:hover {
    background: rgba(255, 182, 85, 0.6);
}

.navigation--primary .navigation__title {
    font-size: 16px;
}

.navigation__hint {
    color: #fff;
	font-weight: bold;
    display: block;
}

/* Secondary navigation */

.navigation--secondary  {
    display: table;
    table-layout: auto;
    width: 970px;
	margin-left: 3px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	z-index: 1;
	position: relative;
}

.navigation--secondary .navigation__layout {
    display: table-row;
}

.navigation--secondary .navigation__item {
    display: table-cell;
    float: none;    
}

.navigation--secondary .navigation__link {	
    text-align: center;
    padding: 0 10px;
    line-height: 50px;
    font-size: 12px;
	color: #b05828;
	text-shadow: none;
	background: #FFD69A;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease 0;
       -moz-transition: all 0.3s ease 0;
            transition: all 0.3s ease 0;	
}

.navigation--secondary .navigation__item:first-child .navigation__link {
    border-left: none;
}

.navigation--secondary .navigation__link:hover {
    background: #FFC776;
}

.navigation--secondary .navigation__link--current,
.navigation--secondary .navigation__link--current:hover {
    background: #FFC776;
}

/* Content section */

.content {
    background: #FFD69A;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	width: 970px;
	margin-left: 3px;
}

.section {
    padding: 20px;
}

.section__header {
    padding: 10px 0;
    margin: 0;
}

/* Footer */

.site__footer {
    padding: 40px;
    color: #b05828;
    position: relative;
    background: #FFD69A;
	border-radius: 0px 0px 10px 10px;
	margin-left: 3px;
	width: 890px;
}

.site__footer_links {
    border-top: 1px dotted;
    font-size: 12px;
    display: table;
    width: 100%;
}

.site__footer_links__inner {
    display: table-row;
}

.site__footer_links__inner-col {
    display: table-cell;
}

.site__footer_links__inner-ul {
    list-style: none;
    border-bottom: 1px dotted;
    padding: 5px 0;
    margin: 0 0 0 40px;
    line-height: 20px;
    border-bottom: none;
    padding-bottom: 0;	
}

.site__footer_links__inner-col:first-child .site__footer_links__inner-ul {
    margin-left: 0;
	text-align: right;
}

.footer-links__item:first-child {
    font-weight: 700;
}

.footer-links__link {
    color: #E38100;
    text-decoration: none;
}

.footer-links__link:hover {
    text-decoration: underline;
}

.copyright {
    width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 20px;
}

.copyright,
.copyright a {
    color: #AA4C05;
    text-decoration: none;
}

/**
 * Pages styles
 */
 
 
.banner{
	width: 970px;
	height: 110px;
	margin-left: 3px;
	overflow: hidden;
}

/* Featured section */

.section--featured {
    position: relative;
    padding: 20px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 1px rgba(255, 255, 255, 0.5);
}

.section__header--featured {
    padding: 0 10px;
}

.section--featured-blockquote {
	background: #FFCF88;
	border-left: 1px solid #FFB03A;
	font-style: italic;
	margin: 0.5em 0px;
	padding: 0.5em 10px;
}

.section--featured-blockquote:before {
    color: #FFB03A;
    content: "\201C";
    font-size: 3em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -.4em;
}
 
.section--featured-blockquote:after {
    color: #FFB03A;
    content: "\201D";
    font-size: 3em;
    line-height: 0.1em;
    vertical-align: -.45em;
}

.section--featured__container--item-ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.section--featured__container--item-li{
	float: left;
	margin-top: 15px;
	margin-right: 10px;
	text-align: left;
	font-weight: bold;
	font-size: 150%;
	line-height: 200%;
	margin-bottom: 0px;
	width: 210px;
}

.section--featured__container--item-li-current{
	width: 100%;
	-moz-column-count: 3;
    -moz-column-width: 210px;
	-moz-column-gap: 10px;
	-moz-column-rule: 0;
    -webkit-column-count: 3;
    -webkit-column-width: 210px;
	-webkit-column-gap: 10px;
	-webkit-column-rule: 0;
    column-count: 3;
    column-width: 210px;
	column-gap: 10px;
    column-rule: 0;
}

.section--featured__container--item-li a{
	display: block;
	width: 100%;
	font-weight: normal;
	font-size: 100%;
	line-height: 125%;	
	margin-right: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.section--featured .catalog {
    padding: 20px 0;
}

.section--featured .catalog__menu-items{
	list-style: none;
	margin: 0px 0px 15px 0px;
	padding: 0;
}

.section--featured .catalog__menu-items li{
	display: inline;
	padding-right: 10px;
}

.section--featured .catalog__item {
    margin-bottom: 0;
}

.section--featured  .catalog__layout {
	margin: 0;
	padding: 0;
	list-style: none;
}

.section--featured .catalog__item {
    margin-bottom: 20px;
	margin-left: 20px;
	float: left;
}

.art {
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.35);
	overflow: hidden;
	height: 240px;
	width: 200px;
}

.art__details {
    background: #FCE3B7;
    padding: 10px;
    height: 221px;
    box-shadow: 0 1px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 20;
    display: block;
    text-decoration: none;
}

.art__details:hover {
	background: #FCF4E5
}

.art__photo {
    width: 195px;
    height: 195px;
    border: 1px solid #FAD588;
    display: table-cell;
    vertical-align: middle;
    background: #FFF4D7 url(../img/loading.gif) 50% 50% no-repeat;
}

.art__image {
    max-width: 178px;
    max-height: 195px;
    margin: auto;
    display: block;
}

.art__title {
    display: block;
    margin-top: 10px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

 .form{ 
    max-width: 100%; 
    min-width: 25%;
} 
.form label{ 
    display: block; 
} 
.form input[type=radio], input[type=checkbox]{ 
    margin: 10px; 
    width: 13px; 
} 
.form div{ 
    display: block; 
} 
.form input, .form textarea, .form select{ 
    border-width: 1px; 
    border-style: solid; 
    border-color: #666666; 
    border-radius: 0px; 
    padding: 3px; 
    width: 50%; 
} 
.clear{ 
    clear: both; 
} 
.form textarea{ 
    height: 50px; 
    width: 50%; 
} 
.form input[type=submit]{ 
    width: 51%; 
    font-weight: bold;
    color: #543;
    font-size: 110%;
    font-family: 'Open Sans', sans-serif;
    border: 2px solid #F3AD50;
    background: #F3AD50;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    outline: none;
    margin-top: 10px;
}  
.form input[type=submit]:hover {
    color: #DA8413;
    border: 2px solid #F3AD50;
    background: #FFD69A;
}
.field{ 
    margin-bottom: 5px; 
} 

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

/*
 * Shades
 */

.dark-shade::before {
    top: 0;
    left: 20px;
    right: 20px;
    height: 24px;
    position: absolute;
    content: '';
    background: -webkit-radial-gradient(50% 50% , ellipse closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%) no-repeat 0 -12px;
    background: -moz-radial-gradient(50% 50% , ellipse closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%) no-repeat 0 -12px;
    background: -ms-radial-gradient(50% 50% , ellipse closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%) no-repeat 0 -12px;
    background: -o-radial-gradient(50% 50% , ellipse closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%) no-repeat 0 -12px;
    background: radial-gradient(50% 50% , ellipse closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%) no-repeat 0 -12px;
    opacity: .5;
}

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

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

.clearfix:after {
    clear: both;
}

.clear{
	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 (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 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;
    }
}