/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */


#image-gallery {}
#image-gallery-search {}
#image-gallery-albums {}

/* universal styles for gallery page */

.image-gal-section {margin-bottom: 25px;}

/* image slider section */

.slider-container {
    background-color: #333333;
    color: white;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 25px;
}

h2.album-title {
    color: white;
    font-size: 24px;
    margin-bottom: 25px;
}

.slider-header {
    position: relative;
}

.album-info {
    color: white;
    font-size: 20px;
    transition: none;
    -o-transition: none;
    -ms-transition: none;
    -moz-transition: none;
    -webkit-transition: none;
}

.album-info:hover,
.album-info:active
{
    color: white;
    text-decoration: none;
    transition: none;
}

#gal-album-description {display: none;}

.gal-album-description-text {
    background-color: white;
    width: 100%;
    color: #333;
    padding: 15px;
}

#image-counter {
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 0;
}

.gal-control-buttons {
    background-color: #565656;
    padding-top: 10px;
    width: 100%;
}

.gal-control-buttons ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    text-align: center;
}

.gal-control-buttons ul li {display: inline-block;}
.gal-control-buttons ul li:nth-of-type(2) {
    margin-right: 30%;
    margin-left: 30%;
}

.gal-control-buttons ul li a {
    color: #ffffff;
    cursor: pointer;
    font-size: 17px;
}

.gal-control-buttons ul li a.inactive,
.gal-control-buttons ul li a.inactive:hover {color: #aaaaaa;}

.gal-control-buttons .material-icons {font-size: 30px;}
.gal-control-buttons ul li a:hover {color: #cde1f2;}

.gal-pic-container {
    background-color: #2a2a2a;
    margin-bottom: 10px;
}

.gal-pic-container img {
    display: block;
    position: relative;
}

.gal-landscape-img, .gal-portait-img {
    display: block;
    height: 100%;
    margin: auto;
}

.gal-landscape-img {
    width: 100%;
}

#gal-current-image-description {font-size: 14px;}

#gal-image-download {
    color: white;
    text-decoration: underline;
}

#gal-image-download:hover,
#gal-image-download:active {
    color: white;
    cursor: pointer;
}

#gal-thumbnail-slider {
    display: none;
}

/* search section */

.img-search-box {
    background-color: #f1f1f1;
    border-radius: 4px;
    padding: 15px;
    width: 100%;
}

.img-search-box form:first-child {margin-bottom: 15px;}

.img-search-box label {display: block;}

.img-search-box input[type="text"], .img-search-box input[type="submit"] {display: inline-block;}

.img-search-box input[type="text"] {width: 70%;}

.img-search-box input[type="submit"] {margin-left: 5px;}

.img-search-box form:last-child {font-size: 12px;}

.img-search-box input[type="radio"] {margin-left: 8px; margin-right: 5px;}


/* albums section */

.gallery-single-album > a {
    display: block;
    position: relative;
    margin-bottom: 50px;
    padding-top: 10px;
    text-decoration: none;
}

.gallery-single-album > a:hover,
.gallery-single-album > a:active {
    background-color: #f1f1f1;
    text-decoration: none;
}

.gallery-single-album > a > div:first-child {
    background: #d7d7d7;
    overflow: hidden;
    position: relative;
    height: 93px;
    margin: auto;
}

.gallery-single-album > a > div:last-child {
    font-size: 14px;
    margin: auto;
    padding: 5px;
    position: relative;
    width: 140px;
    text-align: left;
}

.gallery-single-album > a > div:last-child p:last-child {
    color: #333333;
}


/* pagination for album section */

#gal-album-pagination {
    margin-bottom: 50px;
    text-align: center;
}

ul.gal-pagination {
    list-style: none;
    padding-left: 0;
}

ul.gal-pagination li {
    display: inline-block;
    margin-right: 10px;
    margin-left: 20px;
    vertical-align: middle;
}

.gal-pag-bttn-bkgd {
    background-color: #f1f1f1;
    color: #333333;
    border-radius: 4px;
    display: inline-block;
    padding: 10px 10px 0;
}

.gal-pag-bttn-bkgd:hover,
.gal-pag-bttn-bkgd:active {
    color: #ffffff;
    background-color: #999999;
}

.inactive.gal-pag-bttn-bkgd {color: #999999;}

.inactive.gal-pag-bttn-bkgd:hover {
    background-color: #f1f1f1;
    color: #999999;
}

ul.gal-pagination li a:hover,
ul.gal-pagination li a:active {text-decoration: none}

@media (min-width: 500px) {

    .gallery-single-album.col-xs-6 {width: 33.33333%;}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .slider-header {
        height: 50px;
        padding-top: 5px;
    }
    #image-counter {
        right: 185px;
        top: 10px;
    }
    #gal-control-buttons {
        height: 40px;
        padding-top: 5px;
        position: absolute;
        right: 0;
        top:0;
        width: 145px;
    }
    .gal-control-buttons ul li:nth-of-type(2) {
        margin-right: 10px;
        margin-left: 10px;
    }
    .gal-landscape-img {
        width: auto;
    }
    #gal-thumbnail-slider {
        display: block;
        margin-top: 50px;
    }
    .gal-thumbnail-slider {
        list-style: none;
        padding-left: 0;
        text-align: center;
    }
    .gal-thumbnail-slider li {display: inline-block;}
    .gal-thumbnail-slider li:first-child {margin-right: 25px;}
    .gal-thumbnail-slider li:last-child {margin-left: 25px;}
    .gal-thumbnail-bttn-bkgd {
        background-color: #f1f1f1;
        border-radius: 25px;
        color: #333333;
        cursor: pointer;
        display: inline-block;
        height: 45px;
        line-height: 45px;
        width: 45px;
    }
    .gal-thumbnail-bttn-bkgd:hover {
        background-color: #999999;
        color: #ffffff;
    }
    .inactive.gal-thumbnail-bttn-bkgd {color: #999999;}
    .inactive.gal-thumbnail-bttn-bkgd {background-color: #f1f1f1;}
    .gal-thumbnail-slider .material-icons {
        font-size: 30px;
        font-weight: bold;
        line-height: 45px;
    }
    .gal-thumbnail {
        background-color: #2a2a2a;
        cursor: pointer;
        display: inline-block;
        opacity: .5;
        margin-right: 1px;
        margin-left: 1px;
        width: 100px;
    }
    .gal-thumbnail img {border: 1px solid #999999;}
    .current.gal-thumbnail {opacity: 1.0;}
    .gal-thumbnail:hover {opacity: 1.0;}
    .gal-thumbnail:hover img {border: 1px solid #ffffff;}
    .current.gal-thumbnail img {border: 1px solid #ffffff;}
    .img-search-box form {display: inline-block;}
    .img-search-box form:first-child {margin-right: 25px;}
    .img-search-box label {
        display: inline-block;
        margin-right: 15px;
    }
    .img-search-box input[type="text"] {width: 346px;}
    .gallery-single-album > a > div:first-child {
        height: 131px;
        width: 200px;
    }
    .gallery-single-album > a > div:last-child {
        width: 200px;
        font-size: 17px;
    }

    .gallery-single-album.col-sm-4 {width: 33.3333%}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .img-search-box form:first-child {margin-bottom: 0;}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .gallery-single-album > a > div:first-child {
        height: 156px;
        width: 239px;
    }
    .gallery-single-album > a > div:last-child {width: 239px;}
    .gallery-single-album.col-lg-3 {width: 25%}
}
.div_340{
    width: 600px;
    position: relative;
    background: inherit;
    background-color: rgba(215, 215, 215, 1);
    border: none;
    border-radius: 0px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    }
/*
@media only screen and (orientation:landscape){
    h1, h2, #image-search, #image-albums {display: none;}
    body {padding-top: 0!important;}
    .portal {padding: 0; margin: 0;}
    #album-info-drop, #image-counter, #gal-album-description, #gal-current-image-description {display: none;}
    .image-gal-section {margin-bottom: 0;}
    .gal-pic-container {margin-bottom: 0;}
    .slider-container {padding: 0;}
    #gal-control-buttons {
        height: 40px;
        padding-top: 5px;
        position: fixed;
        right: 5px;
        top: 5px;
        width: 145px;
        z-index: 5;
    }
    .gal-control-buttons ul li:nth-of-type(2) {
        margin-right: 2px;
        margin-left: 2px;
    }
}*/
