#figure {
    position: relative;
}

#spacer {
    display: inline-block;
    width: 45px;
}

.groom_title, .bride_title {
    display: inline-block;
    width: 150px;
}

.groom_title {
    text-align: right;
}

.bride_title {
    text-align: left;
}

#album_content {
    width: 100%;
    position: absolute;
    overflow: hidden;
    height: 500px !important;
}

#return_company {
    position: absolute;
    right: 0;
    top: 40px;
    width: 100px;
    text-align: right;
}

#return_company img {
    width: 40px;
    height: auto;
    display: inline-block;
}

#company_logo {
    width: 120px !important;
    height: 120px !important;
    position: absolute;
}

.btn-album {
    background-color: rgba(249, 177, 172, 1.00);
    border: 1px solid rgba(197, 139, 134, 0.4);
    color: rgb(255, 39, 37);
}

.music_control {
    margin: 0.7em 0 1em 0;
    position: relative;
    color: rgb(233, 161, 156);
    font-size: larger;
}

#note {
    position: absolute;
    width: 50px;
    height: 50px;
    margin: -30px 0 0 -30px;
    top: 50%;
    left: 50%;
}

.playing {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.album_theme {
    color: rgb(233, 161, 156);
}

.album_theme:hover {
    color: rgba(0, 141, 197, 100);
    text-decoration: underline;
}

#album_title {
    font-size: 1.8em;
    color: #787878;
}

.album_image {
    width: auto;
    margin: 0 auto;
    height: 470px !important;
}

.messageItemContainer {
    margin: 0.5em auto;
    border-bottom: 1px solid #eee;
}

.message_name {
    font-size: larger;
    font-weight: 800;
    color: #000000;
}

#contact {
    margin: 1em auto;
    font-size: 1.3em;
}

#company_map {
    width: 100%;
    height: 300px;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #606060;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: rgba(61, 60, 138, 1);
    border-color: rgba(52, 51, 113, 1);
}

.cycle-slideshow {
    overflow: hidden;
}

#company {
    position: relative;
}

#company #entry {
    min-height: 1200px;
}

#company #button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

#button img {
    text-align: center !important;
    display: inline-block;
}

/* Media Queries */

@media screen and (max-width: 1280px) {
    #album_content {
        top: 1.8em;
        margin-top: 4.5em;
        height: 500px !important;
    }

    .album_image {
        height: 375px !important;
    }
}

@media screen and (max-width: 1024px) {
    #company_logo {
        width: 100px !important;
        height: 100px !important;
    }

    #company_map {
        height: 550px;
    }

    #return_company {
        top: 1.8em;
    }

    #album_content {
        margin-top: 2.9em;
        height: 410px !important;
    }

    #spacer {
        width: 40px;
    }

    #album_title {
        font-size: 1.9em;
    }

    .album_image {
        height: 370px !important;
    }

    #contact {
        font-size: 2em;
    }

    #company #entry {
        min-height: 1050px;
    }
}

@media screen and (max-width: 820px) {
    #album_content {
        margin-top: 5.5em;
        height: 480px !important;
    }
}

@media screen and (max-width: 768px) {
    #company_logo {
        width: 100px !important;
        height: 100px !important;
    }

    #note {
        margin: -25px 0 0 -25px;
    }

    #company_map {
        height: 500px;
    }

    #return_company {
        top: 2.2em;
    }

    #album_content {
        margin-top: 5.5em;
        height: 480px !important;
    }

    #album_title {
        font-size: 1.8em;
    }

    #spacer {
        width: 50px;
    }

    .album_image {
        height: 430px !important;
    }

    #contact {
        font-size: 2em;
    }

    #company #entry {
        min-height: 1150px;
    }
}

@media screen and (max-width: 430px) {
    #album_content {
        margin-top: 2.2em;
    }
}

@media screen and (max-width: 414px) {
    #company_logo {
        width: 80px !important;
        height: 80px !important;
    }

    #note {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
    }

    #company_map {
        height: 300px;
    }

    #album_content {
        top: 0;
        margin-top: 3.7em;
        height: 260px !important
    }
}