/* Styles for GuestBook */
#GuestBook {
	margin-bottom: 60px;
}

#GuestBook .gb-openForm {
    background: #df401a;
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 4px;
    text-align: center;
}

#GuestBook .gb-form-wrap {
    display: none;
    margin-bottom: 20px;
}

/* GuestBook form */
#GuestBook .gb-form {
    border: 1px solid #ffbfaf;
    margin: 3px;
    padding: 19px 30px;
    border-radius: 3px;
}

#GuestBook .gb-label {
    margin-left: 5px;
    margin-bottom: 3px;
}

#GuestBook .gb-form input {
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 5px 18px;
    margin-bottom: 10px;
    width: 100%;
}

#GuestBook .gb-panel {
    display: inline-block;
    width: 100%;
}

#GuestBook .gb-captcha {
    margin-top: 24px;
}

#GuestBook .gb-captcha i {
    position: absolute;
    margin-top: 10px;
    cursor: pointer;
}

#GuestBook .gb-captcha i:hover {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#GuestBook .gb-captcha i:active {
    color: #facf25;
}

@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#GuestBook .gb-form textarea {
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 5px 18px;
    margin-bottom: 10px;
    width: 100%;
    height: 100px;
}

#Captcha {
    text-align: center;
}

#GuestBook .gb-send-button {
    background: #2e3c42;
    color: #fff;
    padding: 10px 17px;
    margin: 0 16px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}
#GuestBook .gb-send-button:hover {
    background: #58686f;
}

/* GuestBook record */
#GuestBook .gb-list {
}

#GuestBook .gb-record {border: 1px solid #36c755;border-radius: 9px;padding: 13px 25px;margin-bottom: 30px;font-size: 15px;}

#GuestBook .gb-name {font-size: 20px;color: #df401a;margin-bottom: 10px;}

#GuestBook .gb-date {font-size: 11px;font-weight: normal;margin-left: 18px;color: #000;}

#GuestBook .gb-question {
}

#GuestBook .gb-answer {background: #36c755;color: #fff;padding: 6px 20px;margin-top: 11px;margin-left: 40%;border-radius: 11px;margin-bottom: -30px;margin-right: -17px;}

/* Pagination style fix */
.pagination span {
    margin: 0!important;
}

@media (max-width: 992px) {
	#GuestBook {
	margin-bottom: 0px;
}

}