﻿/*-------------------------------------------*/
/* #MOBILE 320px (Portrait)*/
/*-------------------------------------------*/
@media only screen and (max-width: 480px) , screen and (max-device-width: 480px) {

/*--------------------------------------*/
/*COLUMNS*/
/*--------------------------------------*/
.container { width: 280px; }

.one-half { width: 280px; }

.one-third { width: 280px; }

.two-third { width: 280px; }

.one-fourth { width: 280px;}

.three-fourth { width: 280px; }

/*--------------------------------------*/
/*BLOG*/
/*--------------------------------------*/
.entry-meta { color:#878787; float:left!important; margin:10px 0px 0px 0!important; text-align:left!important; width:280px!important; }

.entry-meta ul { margin:0; }

.entry-meta li { list-style: none!important; margin: 0 10px 0 0!important; float: left!important; }

.entry-body { width: 100% !important; }

.date { width: 280px!important; height: auto; float: left; text-align: center; margin-top: -20px; margin-bottom: 15px!important; display: block; background: #aad5e3; text-shadow: none; 
border-radius: 0!important; -moz-border-radius: 0!important; -webkit-border-radius: !important; padding: 5px 0px!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important;
box-shadow: none!important; border: none!important; }

/*--------------------------------------*/
/*BODY CSS (footer, container, navigation, copyrights ...)*/
/*--------------------------------------*/
body.custom-background { background-attachment: scroll;}

#page { float: none; height: auto; width: 100%; padding: 0 0px; text-align: left; margin:0; }

header.container {width: 100%; margin: 0; padding: 0;}
#header { padding: 0 0.5rem; width: 100%; margin: 0; flex-wrap: wrap; justify-content: center;}
h1#site-name {
	font-size: 1.6rem;
	line-height: 1.6rem;
	margin: 0 1rem 1rem;
}
#header-right {
	text-align: center;
}

.front #banner {
	width: 100%;
}

.front #bottom-content {
	margin: 0;
	padding: 0;
	width: 100%;
}

#slider-container { display: none; }
.flexslider.loading { height: 100px; min-height: 100px; }
.flexslider.loading .loader {
    height: 100px;
    min-height: 100px;
    font-size: 4rem !important;
}

#main-content {
	width: 100%;
	margin: 0;
	padding: 0;
}

#main-content-inside h1 { margin-top: 2rem; }
#main-content-inside .node-page.about {
	padding: 0 3rem;
}


.center-page { height: auto; width: 320px; margin: 0 auto; padding: 0px; }

#pre-header { background: #aad5e3; float: left; width: 280px; padding: 0 20px; margin-left: -20px; border-bottom: 1pt solid #d8d5cd; min-height: 95px; margin-bottom: 30px; }

#pre-header ul.menu, #pre-header .block-menu h2 { text-align: center;}

#pre-header ul.menu li { margin-bottom: 7px;}

#pre-header ul.menu li.first a, #pre-header ul.menu li:first-child a { padding-left: 12px; }

#mm0 { display: block; width: 100%; float: none; height: auto; margin-top: 0px; }

#navigation-wrapper { float:none; }

#header-left{ margin: 0 auto; width: auto; height: auto; float:none; text-align:center; }

#social-icons { float: none; padding: 10px 0 0px 0; text-align: center; font-size: 0;}

#social-icons ul#social-links {float: none;}

ul#social-links li { margin: 0px 3px 5px 3px; float: none; display: inline-block;}

ul#social-links li:last-child {margin: 0px 3px 5px 3px;}

#page ul#social-links > li:hover {display: inline-block; float: none;}

h3 { font-size: 21px; line-height: 22px; }

.flex-caption { display: none; }

img.intro-img { margin-left: -20px!important; max-width: 320px!important; max-height: 100%; margin-bottom: 30px; border-bottom: 1pt solid #d8d5cd; }

.button-holder-2 { float: none!important; margin: 0 auto 20px auto!important; width: 150px; }

.inner-page-intro h2 {   text-align: center; }

.button.huge { padding: 10px 20px; font-size: 14px; color: #FFF!important; font-weight: bold; }

ul#projects-carousel li {   width: 280px; }

ul#projects-carousel li .item-content {   width: 280px; }

.flex-caption h2 { color: #aad5e3; font-size: 23px; text-shadow: none; }

#footer-form input[type="text"],
#footer-form input[type="password"],
#footer-form input[type="email"],
#footer-form textarea,
#footer-form select {   width: 260px; }
#footer .one-half,
#footer  .one-third,
#footer  .two-third,
#footer .one-fourth,
#footer  .three-fourth { border-bottom: 1pt solid #181818; border-top: 1pt solid #333; margin-bottom: 0px; padding-bottom: 15px; padding-top: 15px; }

#footer { width: 100%; padding: 30px 0.5rem 0; margin-left: 0px; height: auto; background: #222222; }

#footer .one-fourth.last {   border-bottom: none!important; }

#footer .one-fourth.first { border-top: none!important; padding-top: 0px; }

#footer-bottom { width: 320px; padding: 10px 0px 10px 0px; margin-left: 0px; float: left; background: #111; }

#footer-bottom p, #footer-bottom span { font-size: 12px; text-align: center; }

#footer-bottom .right { float: none; }

#header { height: auto; }

#footer-bottom ul.menu, #footer-bottom .block-menu h2 { text-align: center;}

#footer-bottom ul.menu li { margin-bottom: 7px;}

#footer-bottom ul.menu li.first a, #pre-header ul.menu li:first-child a { padding-left: 12px; }

/*--------------------------------------*/
/*PORTFOLIO*/
/*--------------------------------------*/
ul#portfolio-items-one-fourth { overflow: hidden; position: relative; list-style: none; margin: 0; padding: 0px 0 0 0; }

ul#portfolio-items-one-fourth li { width: 280px; min-height: auto; height: auto; }

ul#portfolio-items-one-fourth li .portfolio-item { float: left; background: #f8f9f9; width: 280px; height: auto; padding: 0; }

ul#portfolio-items-one-fourth li  .item-content { background: #615951; float: left; width: 280px; text-align: center; padding: 0px 0 15px 0; height: auto; }

#portfolio-items-one-fourth .description { padding-top: 15px; }

ul#portfolio-items-one-fourth li .item-content:hover { background: #aad5e3; }

ul#portfolio-items-one-fourth li .item-content p { margin: 0; padding: 0; font-weight: 800; color: #FFF; }

ul#portfolio-items-one-fourth li .item-content p a { margin: 0; padding: 0; font-weight: 800; color: #FFF; }

ul#portfolio-items-one-fourth li  .item-content span { font-style: italic; color: #FFF; }

ul#portfolio-items-one-fourth li   img { width: 100%; height: auto; padding: 0; margin: 0; }

ul#portfolio-items-one-third { overflow: hidden; position: relative; list-style: none; margin: 0 !important; padding: 0px 0 0 0; }

ul#portfolio-items-one-third li { width: 280px; min-height: 295px!important; margin: 0 20px 20px 0!important; }

ul#portfolio-items-one-third li .portfolio-item { float: left; background: #f8f9f9; width: 280px; height: auto; padding: 0!important; }

ul#portfolio-items-one-third li .item-content { background: #615951; float: left; width: 280px; text-align: center; padding: 0px 0 15px 0; height: auto; }

#portfolio-items-one-third  .description { padding-top: 15px; }

ul#portfolio-items-one-third li .item-content:hover { background: #aad5e3; }

ul#portfolio-items-one-third li .item-content p { margin: 0; padding: 0; font-weight: 800; color: #FFF; }

ul#portfolio-items-one-third li .item-content p a { margin: 0; padding: 0; font-weight: 800; color: #FFF; }

ul#portfolio-items-one-third li .item-content span { font-style: italic; color: #FFF; }

ul#portfolio-items-one-third li  img { width: 100%; height: auto; padding: 0; margin: 0; }

.portfolio-items { width: 280px; margin: 0; }

.portfolio-items:after { content: ""; display: block; height: 0; overflow: hidden; clear: both; }

.portfolio-items-not-filterable li { width: 190px; margin: 0 20px 0px 0!important; float: left; min-height: 350px!important; overflow: hidden; }

.portfolio-items-not-filterable { width: 280px; margin: 0; }

.portfolio-items-not-filterable:after { content: ""; display: block; height: 0; overflow: hidden; clear: both; }

.portfolio-items-not-filterable li { width: 280px!important; margin: 0 20px 0px 0!important; float: left; height: 295px!important; overflow: hidden; }

#filterable { display: inline; float: left; margin-bottom: 20px; margin-right: 0px; }

#filterable li { float: left; margin-left: 15px; } 

#filterable { display: inline; float: left; margin-bottom: 20px; margin-right: 0px; }

#filterable li { float: left; margin-left: 15px; }

/*--------------------------------------*/
/*OTHER FEATURES (google maps, intro inner page, contact forms...)*/
/*--------------------------------------*/
#contact-map { margin: 0px 0 30px -20px; position: relative; width: 320px; }

#contact-form .error { margin: 15px 0 0 0; }

#contact-form form { margin-bottom: 0px; }

#contact-form  fieldset { margin-bottom: 0px; }

#contact-form  label,
#contact-form  legend,
#contact-form  strong,
#contact-form  span { font-weight: bold; font-size: 13px; color: #898989; }

#contact-form input[type="checkbox"] {   display: inline; }

#contact-form label span,
#contact-form legend span { font-weight: normal; font-size: 13px; color: #444; line-height: 34px; }

#contact-form input[type="text"],
#contact-form input[type="password"],
#contact-form  input[type="email"],
#contact-form textarea,
#contact-form select { border: 1px solid #dddddd; padding: 5px 10px; outline: none; overflow: hidden; font: 12px "Helvetica", Arial, sans-serif; color: #777; box-shadow: inset 0px 2px 4px #f3f3f3;
-moz-box-shadow: inset 0px 2px 4px #f3f3f3; -webkit-box-shadow: inset 0px 2px 4px #f3f3f3; width: 260px; max-width: 100%; display: block; margin-bottom: 0px; background: #FFF; border-radius: 2px;
-moz-border-radius: 2px; -webkit-border-radius: 2px; }

#contact-form select {   padding: 0; }

#contact-form  textarea { width: 260px; height: 200px; resize: vertical; margin-bottom: 10px; }

#contact-form input[type="text"]:focus,
#contact-form input[type="password"]:focus,
#contact-form  input[type="email"]:focus,
#contact-form  textarea:focus { border: 1px solid #bbbbbb; color: #555; box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3; -moz-box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3;
-webkit-box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3; }

.portfolio-container { width: 280px; margin-right: 0px; float: left; }

.inner-page-intro h2 { font-size: 21px; line-height: 24px; }

.inner-page-intro h1 { font-size: 24px; line-height: 25px; text-align: center; }

.not-found-text { text-align: center; font-size: 64px; }

ul.center-list li a { text-align: center; padding: 5px 2px; }

.flexslider.loading { min-height: 155px; }

input#edit-keys, .page-user input.form-text, .no-sidebars #comment-form input.form-text { width: 96%; }

.search-advanced .criterion { float: none; margin-right: 0; }

}






/* -------------------------------------------------- */
/* CUSTOM COLLECTIONS BLOCK
/* -------------------------------------------------- */
.front .collections-block {
    position: relative;
    top: -1rem;
    z-index: 10;
}
.collections-block h1 {
    text-transform: uppercase;
    text-align: center;
    display: none;
}
.collections-block ul {
    display: flex;
    justify-content: center;
    list-style: none !important;
    flex-wrap: wrap;
}

.collections-block ul li {
    margin: 0 1rem 1rem;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
}

.collections-block ul li a:link, .collections-block ul li a:hover, .collections-block ul li a:active, .collections-block ul li a:visited  {
    display: block;
    width: 140px;
    height: 300px;
    text-decoration: none;
    transition: width 0.5s;
	background-size: cover;
	padding: 0;
}

.collections-block ul li  a:hover, .collections-block ul li a:active {
    width: 360px;
}

.collections-block ul li a h3 {
  margin: 0;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    padding-left: 0.3rem;
    font-size: 1rem;
    line-height: 3rem;
    color: rgba(255, 255, 255, 1);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
    text-shadow: 2px 2px rgba(0, 0, 0, 0.6);
}

.collections-block ul li a br {
	display: none;
}

.view-gallery .view-content {
	justify-content: space-around;
}

.view-gallery .view-content a img {
	width: 140px !important;
	height: 140px !important;
}




nav#block-alviesphoto-main-menu {
    float: none !important;
}

div#block-cart {
    float: left !important;
    padding-right: 28px;
}

div.highlighted {
    z-index: 9 !important;
}

.brand.logo img {
    position: absolute;
    top: 5px;
    height: 45px !important;
}

.region-hero {
    top: auto !important;
}

.region-primary-menu.expand {
    left: 0;
    right: 0;
}
.region-primary-menu {
    width: 100%;
    margin-bottom: 0; 
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.path-frontpage .collections-block {
    top: 0 !important;
}

.navbar-toggle-close {
    color: white !important;
}

ul#main-menu {
    background: none !important;
    max-width: 70% !important;
    margin: 0 auto !important;
    max-height: 100% !important;
}

ul#main-menu li a, ul#main-menu .sf-menu li a {
    float: none !important;
}

div.slick.blazy {
    display: none;
}

.collections-block {
    z-index: 9 !important;
}

.collections-block ul {
    max-width: 100% !important;
    flex-wrap: wrap;
    justify-content: space-evenly !important;
    padding-left: 0;
}

.collections-block ul li {
    height: 250px !important;
    margin: 0 0 1rem !important;
}

.collections-block ul li a:link, .collections-block ul li a:hover, .collections-block ul li a:active, .collections-block ul li a:visited {
    width: 140px !important;
    height: 200px !important;
    padding-top: 200px !important;
}

.collections-block ul li a:hover, .collections-block ul li a:active {
    width: 135px !important;
}

.collections-block ul li a h3 {
    font-size: 16px !important;
    padding-left: 0 !important;
}

span#social {
    display: block;
    float: none;
    text-align: center;
    margin-top: 1rem;
}

.not-front div.main-content, .path-collections div.main-content {
    z-index: 0 !important;
}




/* Shop */
.path-product article {
    flex-direction: column;
}
.path-product div.slick.blazy {
    display: block;
}
.path-product article .slick-list.draggable {
    width: 100% !important;
}

.path-product .product-values {
    width: 100%;
    margin-left: auto !important;
    margin: 4rem auto 1rem;
}

.path-checkout .commerce-checkout-completion-register {
    max-width: 320px;
}

.view-shop header {
    font-size: 0.9rem !important;
    text-align: left !important;
}

.commerce-cart table {
    font-size: 0.9rem !important;
}

.commerce-cart table .views-field-field-product-images, .commerce-cart table .views-field-remove-button {
    display: none;
}