#photo-gallery {.
position: relative;.
#photo-gallery .slides li {.
height: 500px;.
background-position: top center;.
background-size: contain;.
position: relative;.
#photo-gallery .slides li:before {.
#photo-gallery .slides li p {.
text-align: center;.
position: absolute;.
left: 0;.
bottom: 0;.
#photo-gallery .flex-direction-nav .flex-nav-prev, #photo-gallery .flex-direction-nav .flex-nav-next {.
list-style: none;.
position: absolute;.
top: 50%;.
#photo-gallery .flex-direction-nav .flex-nav-prev {.
left: 0px;.
#photo-gallery .flex-direction-nav .flex-nav-next {.
right: 0px;.
#photo-gallery .flex-direction-nav .flex-nav-prev a, #photo-gallery .flex-direction-nav .flex-nav-next a {.
height: 64px;.
#photo-gallery .flex-direction-nav .flex-nav-next a {.
transform: rotate(-180deg);.
-webkit-transform: rotate(-180deg);.
-moz-transform: rotate(-180deg);.
#photo-gallery .flex-direction-nav, #photo-gallery .slides {.
#photo-gallery .flex-direction-nav {.
#photo-gallery:hover .flex-direction-nav {.
#photo-gallery .flex-direction-nav .flex-nav-prev:before, #photo-gallery .flex-direction-nav .flex-nav-next:before {.
#photo-gallery .slides li {.
height: 380px;.
#photo-gallery .flex-direction-nav {.