@media screen and (max-width: 799px) {
     /* For mobile phones and tablets */

    * {
    box-sizing: border-box;
    }

    [class*="col-"] {
    width: 100%;
    }

    /* format and actions for columns */
    .row::after {
    content: "";
    clear: both;
    display: table;
    }

    /* HEADINGS DEFAULT GALLERY PHOTO CAPTIONS THUMBNAILS */
    h5 {
    font-size: 12px;
    color: #000099;
    text-align: center
    }

    h6 {
    font-size: 12px;
    color: #000099;
    text-align: center
    }

    /* GALLERY PAGES */

    .content {
    float: left;
    width: 100%;
    margin: 30px 0px;
    border-radius: 5px;
    overflow: hidden;
    }
    .content:after {
    content: "";
    display: block;
    clear: both;
    }

    .content .content-title {
    float: left;
    width: 100%;
    height: auto;
    margin: 10px auto;
    color: #000099;
    font-family: "Verdana", sans-serif;
    }

    .content .actions {
    display: block;
    float: left;
    width: 100%;
    height: auto;
    margin: 5px auto;
    color: #0033FF;
    font-weight: bold;
    }

    .content .gallery {
    float: left;
    align-content: center;
    width: 220px;
    height: auto;
    min-height: 420px;
    margin: 10px;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #b3b3b3;
    }

     .content .gallery .gallery_thumb {
     width: 200px;
     height: 200px;
     margin: 5px 5px;
     border: 2px solid #0000FF;
     background-size: 100%;
    }

    .content .gallery .photo_info {
    height: 80px;
    margin: 10px 5px;
    font: .8em;
    color: #000066;
    font-weight: 200;
    font-family: "Verdana", sans-serif;
    }

    .content .gallery .author {
    height: 75px;
    padding: 5px 5px;
    font: .8em;
    font-family: "Verdana", sans-serif;
    }

    /* * * * * * * * *
    * SINGLE PAGE
    * * * * * * * * */
    .gallery-wrapper {
        width: 100%;
        margin-top: 5px;
        float: right;
    }
    .full-gallery-div {
        margin-top: 5px;
        float: right;
        width: 100%;
        height: auto;
        max-width: 1100px;
        max-height: 1100px;
        padding: 10px;
        background: black;
        border: 1px solid #e4e1e1;
        border-radius: 2px;
    }

    .full-gallery-div h3.gallery-title {
        margin: 5px auto;
        text-align: center;
    }

    .full-gallery-div .gallery_image {
        width: 100%;
        height: auto;
        max-width: 1080px;
        max-height: 1080px;
        background-size: 100%;
    }

    .gallery-body-div {
        margin-top: 5px;
        font-family: "Verdana", sans-serif;
        font-size: 1.2em;
    }
    .gallery-body-div p {
        margin:20px 0px;
    }

    .content .gallery-comments {
        margin-top: 25px;
        border-radius: 2px;
        border-top: 1px solid #e4e1e1;
        padding: 10px;
    }

    /* GALLERY SIDEBAR */

    .gallery-sidebar {
        width: 100%;
        float: left;
        margin-top: 20px;
        height: auto;
        overflow: auto;
    }

    .gallery-sidebar .card {
        width: 100%;
        margin: 10px auto;
        border: 1px solid #e4e1e1;
        border-radius: 10px 10px 0px 0px;
    }

    .gallery-sidebar .card .card-header {
        height: auto;
        min-height: 50px;
        padding: 0px;
        color: white;
        text-align: center;
        border: 1px solid #0000CC;
        border-radius: 3px 3px 0px 0px;
        background: #3366CC;
    }

    .gallery-sidebar .card .card-header h4 {
        color: #FFFFFF;
    }

    .gallery-sidebar .card .card-content a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 8px 10px;
        border-bottom: 1px solid #e4e1e1;
        color: #444;
    }

    .gallery-sidebar .card .card-content a:hover {
        padding-left: 10px;
        background: #6699FF;
        color: white;
        transition: 0.1s;
    }

    /* BUTTON DEFAULT */
    .btn {
        color: #FFFFFF;
        background: #6699FF;
        text-align: center;
        font-weight: bold;
        border: 1px solid #000099;
        border-radius: 5px;
        display: block;
        letter-spacing: .1em;
        margin: 10px 0px;
        padding: 7px 15px;
        text-decoration: none;
    }

    .btn.next {
        text-decoration: none;
        display: inline-block;
        float: right;
        width: 30px;
        height: 30px;
        background-color: #00CC00;
        border: 1px solid green;
        border-radius: 50%;
        color: #FEFEFE;
        font-size: 1.0em;
        padding: 0px 5px;
    }

    .btn.previous {
        text-decoration: none;
        display: inline-block;
        width: 30px;
        height: 30px;
        background-color: #00CC00;
        border: 1px solid green;
        border-radius: 50%;
        color: #FEFEFE;
        font-size: 1.0em;
        padding: 0px 5px;
    }

    .btn.share {
        text-decoration: none;
        display: inline-block;
        width: 30px;
        height: 30px;
        background-color: #FFFFFF;
        border: 0px solid green;
        font-size: 1.5em;
        padding: 0px 5px;
    }

    .btn.delete {
        background: white;
        border: 0px solid #000000;
        color: black;
        padding: 3px;
        width: 40px;
        font: .8em;
    }
    .btn.edit {
       background: white;
       border: 0px solid #000000;
       color: black;
       padding: 3px;
       width:40px;
       font: .8em;
     }

    /* ERROR REPORTING */
    .error {
        color: #FF0000;
        background: #EEEEEE;
        border: 1px solid #000000;
        margin-bottom: 20px;
    }

    .validation_errors p {
        color: #FF0000;
        text-align: left;
        margin-left: 10px;
    }

     /* PAGE LAYOUT BY DIVISIONS */

    div.sticky {
        position: -webkit-sticky;
        position: sticky;
        width: 100%, auto;
        top: 0;
    }

    .container {
        width: 90%;
        margin: 5px auto;
        overflow: hidden;
    }

    .center {
        align-content: center;
        width: 90%
    }

    .aside {
        background-color: #FFFFFF;
        padding: 15px;
        color: #6600FF;
        text-align: center;
        font-size: 14px;
    }

    .footer {
        background-image: url("images/Footer.jpg");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 300px 100px;
        background-color: #FFFFFF;
        width: 100%;
        height: 350px;
        margin-top: 20px;
        position: bottom;
        padding: 0px;
        text-align: right;
        font-size: 14px;
        color: #000099;
    }

    img {
    display: block;
    float: left;
    width: 100%;
    height: auto;
    max-width: 1080px;
    max-height: 1080px;
    }

} /* end of mobile format*/

@media only screen and (min-width: 800px) {
     * {
    box-sizing: border-box;
    }

    [class*="col-"] {
    float: left;
    padding: 5px;
    }

    /* format and actions for columns */
    .row::after {
    content: "";
    clear: both;
    display: table;
    }

    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}

    /* HEADINGS DEFAULT GALLERY PHOTO CAPTIONS THUMBNAILS */
    h5 {
    font-size: 12px;
    color: #000099;
    text-align: center
    }

    h6 {
    font-size: 12px;
    color: #000099;
    text-align: center
    }

    /* PAGE LAYOUT BY DIVISIONS */

    div.sticky {
    position: -webkit-sticky;
    position: sticky;
    width: 100%, auto;
    top: 0;
    }

    .container {
    width: 90%;
    margin: 5px auto;
    overflow: hidden;
    }

    .center {
    align-content: center;
    width: 90%
    }

    .aside {
    background-color: #FFFFFF;
    padding: 15px;
    color: #6600FF;
    text-align: center;
    font-size: 14px;
    }

    /* GALLERY PAGES */

    .content {
    float: left;
    width: 96%;
    margin: 30px 0px;
    border-radius: 5px;
    overflow: hidden;
    }
    .content:after {
    content: "";
    display: block;
    clear: both;
    }

    .content .content-title {
    float: left;
    width: 100%;
    height: auto;
    margin: 10px auto;
    color: #000099;
    font-family: "Verdana", sans-serif;
    }

    .content .actions {
    display: block;
    float: left;
    width: 100%;
    height: auto;
    margin: 5px auto;
    color: #0033FF;
    font-weight: bold;
    }

    .content .gallery {
    float: left;
    align-content: center;
    width: 220px;
    height: auto;
    min-height: 420px;
    margin: 10px;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #b3b3b3;
    }

    .content .gallery .gallery_thumb {
    width: 200px;
    height: 200px;
    margin: 5px 5px;
    border: 2px solid #0000FF;
    background-size: 100%;
    }

    .content .gallery .photo_info {
    margin: 10px 5px;
    font-size: .8em;
    color: #000099;
    font-weight: bold;
    }

    .content .gallery .actions {
    margin-bottom: 5px;
    font-size: .8em;
    color: #0033FF;
    font-weight: bold;
    }

    .content .gallery .author {
    height: 75px;
    padding: 5px 5px;
    font: .8em;
    font-family: "Verdana", sans-serif;
    }

    /* * * * * * * * *
    * SINGLE PAGE
    * * * * * * * * */
    .gallery-wrapper {
    width: 100%;
    margin-top: 5px;
    float: left;
    }

    .full-gallery-div {
    float: right;
    width: 100%;
    height: auto;
    max-width: 1100px;
    max-height: 1100px;
    margin-top: 5px;
    padding: 10px;
    background: black;
    border: 1px solid #e4e1e1;
    border-radius: 2px;
    overflow: hidden;
    }

    .full-gallery-div h3.gallery-title {
        margin: 5px auto;
        text-align: center;
    }

    .full-gallery-div .gallery_image {
        width: 100%;
        height: auto;
        max-width: 1080px;
        max-height: 1080px;
        background-size: 100%;
    }

    .gallery-body-div {
        margin-top: 5px;
        font-family: "Verdana", sans-serif;
        font-size: 1.2em;
    }
    .gallery-body-div p {
        margin:20px 0px;
    }

    .content .gallery-comments {
        margin-top: 25px;
        border-radius: 2px;
        border-top: 1px solid #e4e1e1;
        padding: 10px;
    }

    /* GALLERY SIDEBAR */

    .gallery-sidebar {
        width: 100%;
        float: left;
        margin-top: 20px;
        height: auto;
        max-width: 400px;
        overflow: auto;
    }

    .gallery-sidebar .card {
        width: 100%;
        margin: 10px auto;
        border: 1px solid #e4e1e1;
        border-radius: 10px 10px 0px 0px;
    }

    .gallery-sidebar .card .card-header {
        height: auto;
        min-height: 50px;
        padding: 0px;
        color: white;
        text-align: center;
        border: 1px solid #0000CC;
        border-radius: 3px 3px 0px 0px;
        background: #3366CC;
    }

    .gallery-sidebar .card .card-header h4 {
        color: #FFFFFF;
    }

    .gallery-sidebar .card .card-content a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 8px 10px;
        border-bottom: 1px solid #e4e1e1;
        color: #444;
    }

    .gallery-sidebar .card .card-content a:hover {
        padding-left: 10px;
        background: #6699FF;
        color: white;
        transition: 0.1s;
    }

    /* BUTTON DEFAULT */
    .btn {
        color: #FFFFFF;
        background: #6699FF;
        text-align: center;
        font-weight: bold;
        border: 1px solid #000099;
        border-radius: 5px;
        display: block;
        letter-spacing: .1em;
        margin: 10px 0px;
        padding: 7px 15px;
        text-decoration: none;
    }

    .btn.next {
        text-decoration: none;
        display: inline-block;
        float: right;
        width: 30px;
        height: 30px;
        background-color: #00CC00;
        border: 1px solid green;
        border-radius: 50%;
        color: #FEFEFE;
        font-size: 1.0em;
        padding: 0px 5px;
    }

    .btn.previous {
        text-decoration: none;
        display: inline-block;
        width: 30px;
        height: 30px;
        background-color: #00CC00;
        border: 1px solid green;
        border-radius: 50%;
        color: #FEFEFE;
        font-size: 1.0em;
        padding: 0px 5px;
    }

    .btn.share {
        text-decoration: none;
        display: inline-block;
        width: 30px;
        height: 30px;
        background-color: #FFFFFF;
        border: 0px solid green;
        font-size: 1.5em;
        padding: 0px 5px;
    }

    .btn.delete {
        background: white;
        border: 0px solid #000000;
        color: black;
        padding: 3px;
        width: 40px;
        font: .8em;
    }
    .btn.edit {
       background: white;
       border: 0px solid #000000;
       color: black;
       padding: 3px;
       width:40px;
       font: .8em;
     }

    img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1080px;
    max-height: 1080px;
    }

    /* ERROR REPORTING */
    .error {
        color: #FF0000;
        background: #EEEEEE;
        border: 1px solid #000000;
        margin-bottom: 20px;
    }

    .validation_errors p {
        color: #FF0000;
        text-align: left;
        margin-left: 10px;
    }


    .footer {
        background-image: url("images/Footer.jpg");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 300px 100px;
        background-color: #FFFFFF;
        width: 100%;
        height: 350px;
        margin-top: 20px;
        position: bottom;
        padding: 0px;
        text-align: right;
        font-size: 14px;
        color: #000099;
    }
   /* END DESKTOP FORMATTING */
}