﻿/* Fonts
---------------------------------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css?family=Arima+Madurai|Merriweather|Nunito|Open+Sans&display=swap");

/* Colorbox
---------------------------------------------------------------------------------------------------- */
#colorbox,
#cboxOverlay,
#cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}
#cboxWrapper {
  max-width: none;
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  -ms-interpolation-mode: bicubic;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
}
#colorbox,
#cboxContent,
#cboxLoadedContent {
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

/*
User Style:
Change the following styles to modify the appearance of Colorbox.  They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
  background: url(images/overlay.png) repeat 0 0;
  opacity: 0.9;
  filter: alpha(opacity = 90);
}
#colorbox {
  outline: 0;
}
#cboxTopLeft {
  width: 21px;
  height: 21px;
  background: url(images/controls.png) no-repeat -101px 0;
}
#cboxTopRight {
  width: 21px;
  height: 21px;
  background: url(images/controls.png) no-repeat -130px 0;
}
#cboxBottomLeft {
  width: 21px;
  height: 21px;
  background: url(images/controls.png) no-repeat -101px -29px;
}
#cboxBottomRight {
  width: 21px;
  height: 21px;
  background: url(images/controls.png) no-repeat -130px -29px;
}
#cboxMiddleLeft {
  width: 21px;
  background: url(images/controls.png) left top repeat-y;
}
#cboxMiddleRight {
  width: 21px;
  background: url(images/controls.png) right top repeat-y;
}
#cboxTopCenter {
  height: 21px;
  background: url(images/border.png) 0 0 repeat-x;
}
#cboxBottomCenter {
  height: 21px;
  background: url(images/border.png) 0 -29px repeat-x;
}
#cboxContent {
  background: #fff;
  overflow: hidden;
}
.cboxIframe {
  background: #fff;
}
#cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}
#cboxLoadedContent {
  margin-bottom: 28px;
}
#cboxTitle {
  position: absolute;
  bottom: 4px;
  left: 0;
  text-align: center;
  width: 100%;
  color: #949494;
}
#cboxCurrent {
  position: absolute;
  bottom: 4px;
  left: 58px;
  color: #949494;
}
#cboxLoadingOverlay {
  background: url(images/loading_background.png) no-repeat center center;
}
#cboxLoadingGraphic {
  background: url(images/loading.gif) no-repeat center center;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
  outline: 0;
}

#cboxSlideshow {
  position: absolute;
  bottom: 4px;
  right: 30px;
  color: #0092ef;
}
#cboxPrevious {
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(images/controls.png) no-repeat -75px 0;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}
#cboxPrevious:hover {
  background-position: -75px -25px;
}
#cboxNext {
  position: absolute;
  bottom: 0;
  left: 27px;
  background: url(images/controls.png) no-repeat -50px 0;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}
#cboxNext:hover {
  background-position: -50px -25px;
}
#cboxClose {
  position: absolute;
  bottom: 0;
  right: 0;
  background: url(images/controls.png) no-repeat -25px 0;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}
#cboxClose:hover {
  background-position: -25px -25px;
}

/*
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

/* FabricShop Masonry
---------------------------------------------------------------------------------------------------- */
.masonbox {
  float: left;
  margin: 5px;
  padding: 5px;
}
.masoncol1 {
  width: 940px;
}
.masoncol2 {
  width: 460px;
}
.masoncol3 {
  width: 300px;
}
.masoncol4 {
  width: 220px;
}
.masoncol5 {
  width: 172px;
}
.masoncol6 {
  width: 140px;
}
.masoncol1 img {
  max-width: 940px;
}
.masoncol2 img {
  max-width: 460px;
}
.masoncol3 img {
  max-width: 300px;
}
.masoncol4 img {
  max-width: 220px;
}
.masoncol5 img {
  max-width: 172px;
}
.masoncol6 img {
  max-width: 140px;
}
.masonclear {
  clear: both;
  float: left;
  width: 100%;
  position: relative;
}
/* gallery masonry */
.gallerybox {
  float: left;
  margin: 0;
  padding: 0;
}
.gallerycol {
  width: 768px;
}
.gallerycol5 {
  width: 172px;
}
.gallerycol5 img {
  max-width: 172px;
}
.gallerymedia {
  width: 500px;
}
.gallerymedia img {
  max-width: 500px;
}
.gallerymediacol {
  width: 420px;
}

/* General
---------------------------------------------------------------------------------------------------- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background-color: #333333;
  color: #f5f5f5;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #fbbfb1;
  text-decoration: none;
}
a:hover {
  color: #f68282;
  text-decoration: underline;
}
.artgalleryfabrics-logo h1 a {
  width: 224px;
  height: 139px;
  display: block;
  text-indent: -9999px;
  background-image: url("../media/artgalleryfabrics.png");
  background-repeat: repeat;
  background-attachment: scroll;
  margin-top: 1rem;
  background-position: 0% 50%;
}
/* Sections
---------------------------------------------------------------------------------------------------- */
.section {
  text-align: Center;
  margin: 0;
  padding: 0;
}
.header {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.2rem;
  padding-bottom: 0;
}
.navigation {
  background-image: url("../media/seamless_ribbon.jpg");
  background-repeat: repeat;
  background-color: #f5f5dc;
}
.page {
  text-align: Left;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.footer {
  color: #999999;
  padding-top: 2rem;
  padding-bottom: 1rem;
}
/* Responsive Topnav with Dropdown
---------------------------------------------------------------------------------------------------- */
.topnav {
  overflow: hidden;
}
.topnav a {
  float: left;
  display: block;
  color: #808080;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  padding-left: 14px;
  padding-right: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.active {
  color: #666666;
}
.topnav .icon {
  display: none;
}
.dropdown {
  float: left;
  overflow: hidden;
}
.dropdown .dropbtn {
  font-size: 16px;
  outline: none;
  font-family: inherit;
  color: #808080;
  cursor: pointer;
  margin: 0;
  padding-left: 14px;
  padding-right: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #666666;
  min-width: 160px;
  z-index: 9999;
  color: #f1f1e8;
}
.dropdown-content a {
  float: none;
  color: #f1f1e8;
  text-decoration: none;
  display: block;
  text-align: left;
}
.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #666666;
  color: #f1f1e8;
}
.dropdown-content a:hover {
  background-color: #f8bdb0;
  color: #666666;
}
.dropdown:hover .dropdown-content {
  display: block;
}
/* Forms
---------------------------------------------------------------------------------------------------- */
.button, button, input[type=submit], input[type=reset], input[type=button] {
  display: inline-block;
  height: 30px;
  color: #ffffff;
  text-align: Center;
  font-size: 1.2rem;
  line-height: 30px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  background-color: #f8bdb0;
  border: 1px solid #f8bdb0;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 0;
  padding-bottom: 0;
}
.button:hover, button:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, .button:focus, button:focus, input[type=submit]:focus, input[type=reset]:focus, input[type=button]:focus {
  color: #ffffff;
  outline: 0;
  background-color: #f38181;
  border: 1px solid #f38181;
}
.button-primary, button.button-primary, input[type=submit].button-primary, input[type=reset].button-primary, input[type=button].button-primary {
  color: #666666;
  background-color: #f1f1e8;
  border: 1px solid #f1f1e8;
}
.button-primary:hover, button.button-primary:hover, input[type=submit].button-primary:hover, input[type=reset].button-primary:hover, input[type=button].button-primary:hover, .button-primary:focus, button.button-primary:focus, input[type=submit].button-primary:focus, input[type=reset].button-primary:focus, input[type=button].button-primary:focus {
  color: #666666;
  background-color: #dfdfca;
  outline: 0;
  border: 1px solid #dfdfca;
}
input[type=email], input[type=number], input[type=search], input[type=text], input[type=tel], input[type=url], input[type=password], textarea, select {
  height: 30px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 1.2rem;
  color: #656666;
  border: 1px solid #595d5d;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
}
input[type=email]:focus, input[type=number]:focus, input[type=search]:focus, input[type=text]:focus, input[type=tel]:focus, input[type=url]:focus, input[type=password]:focus, textarea:focus, select:focus {
  outline: 0;
  border: 1px solid #9f2424;
}
/* Footer
---------------------------------------------------------------------------------------------------- */
.footer a {
  text-decoration: none;
}
span.gc-cs-link {
  color: #f5f5f5;
  cursor: pointer;
  text-decoration: none;
}
.poweredby {
  visibility: hidden;
}
/* AddThis ShareThis Social */
ul.social {
  text-align: center;
  margin: 12px 0px 8px 0px;
  padding: 8px;
}
ul.social li {
  display: inline-block;
}
/* Credit
---------------------------------------------------------------------------------------------------- */
.csfabshop a {
  display: block;
  background-repeat: no-repeat;
  height: 23px;
  width: 157px;
  background-image: url("https://crafting.solutions/global/images/fabricshop-powered.png");
}
.csfabshop a:hover {
  background-position: 0 -23px;
}
/* Mobile First Queries
---------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
