/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_image_grid_responsive */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial;
}

.header {
    text-align: center;
    padding: 32px;
}

.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
/*    align-items: center;*/
    justify-content: center;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

.image{
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 400px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* 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 {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}


  .render {
    float: left;
    margin: 0.5em;
    border: 1px solid #ccc;
    padding: 1em;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    text-align: center;
    font-size: 0.8em;
    position: relative;
  }

#search {
    background-image: url('searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 90%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

#badge {
    position: absolute;
    top: 0p;
    left: 0px;
}

.options {
   position: absolute;
   z-index: 1;
   width: 75px; height: 75px;
}

.ribbon {
   position: absolute;
   right: -5px; top: -5px;
   z-index: 1;
   overflow: hidden;
   width: 75px; height: 75px;
   text-align: right;
}
.ribbon span {
   font-size: 10px;
   color: #fff;
   text-transform: uppercase;
   text-align: center;
   font-weight: bold; line-height: 20px;
   transform: rotate(45deg);
   -webkit-transform: rotate(45deg); /* Needed for Safari */
   width: 100px; display: block;
   background: #79A70A;
   background: linear-gradient(#9BC90D 0%, #79A70A 100%);
   box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
   position: absolute;
   top: 19px; right: -21px;
}
.ribbon span::before {
   content: '';
   position: absolute;
   left: 0px; top: 100%;
   z-index: -1;
   border-left: 3px solid #79A70A;
   border-right: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.ribbon span::after {
   content: '';
   position: absolute;
   right: 0%; top: 100%;
   z-index: -1;
   border-right: 3px solid #79A70A;
   border-left: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.red span {background: linear-gradient(#F70505 0%, #8F0808 100%);}
.red span::before {border-left-color: #8F0808; border-top-color: #8F0808;}
.red span::after {border-right-color: #8F0808; border-top-color: #8F0808;}

.blue span {background: linear-gradient(#2989d8 0%, #1e5799 100%);}
.blue span::before {border-left-color: #1e5799; border-top-color: #1e5799;}
.blue span::after {border-right-color: #1e5799; border-top-color: #1e5799;}

.orange span {background: linear-gradient(#F79E05 0%, #8F5408 100%);}
.orange span::before {border-left-color: #8F5408; border-top-color: #8F5408;}
.orange span::after {border-right-color: #8F5408; border-top-color: #8F5408;}

.cyan span {background: linear-gradient(#05EFF7 0%, #087F8F 100%);}
.cyan span::before {border-left-color: #087F8F; border-top-color: #087F8F;}
.cyan span::after {border-right-color: #087F8F; border-top-color: #087F8F;}

.magenta span {background: linear-gradient(#EE82EE 0%, #FF00FF 100%);}
.magenta span::before {border-left-color: #FF00FF; border-top-color: #FF00FF;}
.magenta span::after {border-right-color: #FF00FF; border-top-color: #FF00FF;}

.secutech span {background: linear-gradient(#EE82EE 0%, #5f1717 100%);}
.secutech span::before {border-left-color: #771d1d; border-top-color: #771d1d;}
.secutech span::after {border-right-color: #771d1d; border-top-color: #771d1d;}

#footer{
 bottom:0;
 width:90%;
 height: 43px;
 text-align: center;
 margin-left: auto;
 margin-right: auto;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
