/*Body Settings and colors*/

/*This belongs on everypage no matter what*/

Body {
    background-color: rgba(255, 255, 255, 1);
}

html,
body {
    margin: 0;
    padding: 0;
}

article {
    float: left;
    padding: 0px;
    width: 100%;
    background-color: #f1f1f1;
}

/*Text setting and sizing */
h1 {
    font-family: 'source pro sans', sans-serif;
    font-size: 30px;
}

h2 {
    font-family: 'source pro sans', sans-serif;
    font-size: 26px;
}

h3 {
    font-family: 'source pro sans', sans-serif;
}

p {
    font-family: 'source pro sans', sans-serif;
}

/*Header Settings and colors*/
header {
    background-image: url(Images/JCSigns_banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0px;
    text-align: center;
    font-size: 35px;
    color: #BFF205;
}

/*Top Nav button settings*/
.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #ffff;
    color: black;
}



/*This is specifically for any page with a photo grid */

* {
    box-sizing: border-box;
}

.row {
    margin: px -16px;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
    padding: 5px;
}

/* Create four equal columns that floats next to each other */
.column {
    float: Left;
    width: 24.99%;
}

/* Clear floats after rows */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: white;
    padding: 25px;

}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
    .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 8px 6px;
    text-decoration: none;
    font-size: 17px;
}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
     .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 8px 6px;
    text-decoration: none;
    font-size: 14px;
}
}
@media screen and (max-width: 300px) {
    .column {
        width: 100%;
    }
     .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 4px 3px;
    text-decoration: none;
    font-size: 10px;
}
}

/*This is to make sure all the boxs are the same size and fit perfectly next to each other*/
.gallerybox img {
    width: 400px;
    height: 400px;
}
.box img {
    width: 200px;
    height: 200px;
}

.box1 img {
    object-fit: cover;
}

.box2 img {
    object-fit: scale-down;
}

.box3 img {
    object-fit: fill;
}

.box4 img {
    object-fit: none;
}

/*Gallery Page Slideshow*/


img {
    vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.gallerycontainer {
    position: relative;
    background-color: #DCDCDC;
}

/* Hide the images by default */
.mySlides {
    display: none;
    
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: black;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: rgba(192, 192, 192, .4);
    padding: 2px 5px;
    color: white;
}

.rowg:after {
    content: "";
    display: table;
    clear: both;
}

/* ten columns side by side */
.columng {
    float: left;
    width: 10%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}



.gridresponsive {
    padding: 0 0px;
    float: left;
    width: 24.99999%
}

.grid {
    border: 0px solid #ccc;
}

.grid:hover {
    border: 1px solid #777;
}

footer {
    background-color: #777;
    padding: 10px;
    text-align: center;
    color: white;
}
