/*
|  CONTACT
*/


/*
|BANNER
*/

/* section.bw4 .banner {
    background-image: url("../../images/contact_banner.jpg");
    background-size: 100%;
    background-position: 100% 75%;
} */

section.bw4 .maintext ul {
    list-style: disc;
    padding-left: 15px;
}

/* slideshow */

.slide-control {
    position: absolute;
    top: 85%;
    width: 100%;
    transform: translateY(-50%);
    padding-top: 0;
    padding-bottom: 0;
    z-index: 1;
    padding-right: 20px;
    padding-left: 20px;
}

.slide-control .left,
.slide-control .right {
    padding: 5px;
    color: #333;
    width: 1.6em;
    height: 1.7em;
    /* background: rgba(255, 255, 255, 0.7); */
    text-align: center;
    vertical-align: middle;
    /* border: 1px solid #333; */
}

.slide-control .right {
    float: right;
    background-image: url("./../../images/move2next.png");
    background-repeat: no-repeat;
}

.slide-control .left {
    float: left;
    background-image: url("./../../images/move2prev.png");
    background-repeat: no-repeat;
}

.slide-control .dots {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-right: 5px;
}
.slide-control .dots.active {
    background: #fff;
}

.slide-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.slide {
    height: 100%;
    width: 100%;
    text-align: center;
    overflow-y: hidden;
}

.slide>img {
    width: 100%;
    transform: translate(0, -35%);
}


@media only screen and (max-width:375px) {
    section.bw4 iframe {
        width: 250px;
        height: 220px;
    }
}

@media only screen and (min-width:375px)and (max-width:599px) {
    section.bw4 iframe {
        width: 300px;
        height: 250px;
    }
}


/*
sidebar
 */

section.bw4 .sidebar {
    height: 320px;
}

section.bw4 iframe {
    margin: 0 auto;
    display: block;
    background-color: gray;
}

.mark {
    text-align: right;
    font-size: .8em;
}

div.table {
    overflow-x: auto;
}

table.PE,
table {
    width: 100%;
    min-width: 400px;
}

table.PE a {
    color: rgb(218, 112, 35);
}

table.PE a:hover,
table.PE a:focus {
    color: rgb(150, 98, 60);
}

table.PE caption {
    font-size: 1.5em;
    color: rgb(158, 106, 19);
    font-weight: 700;
    padding: 10px 0;
    border-bottom: 1px solid rgb(158, 106, 19);
    border-top: 1px solid rgb(158, 106, 19);
}

table.PE tr:nth-child(1) th {
    text-align: left;
    font-size: 1.2em;
    color: rgb(158, 106, 19);
    font-weight: 500;
    padding: 5px;
}

table.PE tr th:nth-child(1) {
    width: 35%;
}

table.PE tr th:nth-child(2) {
    width: 25%;
}

table.PE tr th:nth-child(3) {
    width: 40%;
}

table.PE tr td,
table.PE tr th {
    padding: 0 0 0 5px;
}


/*
| MSG
*/


/* <599 */

@media only screen and (max-width:600px) {
    .msg .subtitle {
        width: 100%;
    }
    .msg p {
        width: 100%;
    }
    .login,
    .leavemsg {
        width: 97.5%;
    }
}


/* >600 */

@media only screen and (min-width:600px) {
    .msg .subtitle {
        width: 75%;
    }
    .msg p {
        width: 75%;
    }
}

div.msg {
    padding: 10px 5px;
    background-color: rgba(255, 232, 204, 0.5);
    border-radius: 5px;
    border: 1px solid #bf882d;
    border-left: 5px solid #92856f;
    margin-top: 10px;
    box-shadow: 2px 1px 3px rgba(1, 1, 1, 0.25);
    position: relative;
}

.msg .th {
    font-style: italic;
    font-size: 1.1em;
    font-weight: 500;
    color: #bf882d;
    width: 100px;
    display: inline-block;
    padding-left: 5px;
    vertical-align: top;
}

.msg .subtitle {
    height: auto;
    display: inline-block;
    color: #333;
    padding: 0 0 0 10px;
}

.msg p {
    display: inline-block;
    padding: 0 0 0 10px;
    letter-spacing: 1px;
    font-size: .95em;
    line-height: 1.5em;
}

.msg .date {
    position: relative;
    font-size: .7em;
    border: none;
    color: #333;
}

.msg .name {
    text-align: right;
    font-style: italic;
}

.from {
    float: right;
    position: absolute;
    top: 10px;
    right: 15px;
}

.fa-facebook {
    color: #1f58c7;
}

.fa-edge {
    color: #6088fb;
}


/*
| Login leavemsg
 */

.box {
    float: left;
    border-radius: 10px;
    display: inline-block;
    margin: 0px 10px 15px 10px;
    position: relative;
    padding: 15px;
    box-shadow: 2px 3px 5px rgba(1, 1, 1, 0.35);
}

.login {
    background-color: #4e7a4e;
    display: none;
}

.login .content {
    background-color: rgba(255, 255, 255, .4);
    border-radius: 8px;
}

.login .header {
    line-height: 40px;
    letter-spacing: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 1.4em;
    text-align: center;
}

.login .content {
    padding: 10px;
    color: #fff;
    letter-spacing: 5px;
    line-height: 30px;
}

.login .content p {
    padding: 10px 0;
    text-align: left;
    display: inline-block;
}

.login .content label {
    display: inline-block;
    padding: 2px;
    width: 35px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
    vertical-align: bottom;
}

.login .content a {
    padding: 2px 5px;
    text-align: left;
    width: auto;
    display: inline-block;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff12f;
}

#login,
.signup {
    line-height: 35px;
    letter-spacing: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
}

#login a,
.signup a {
    color: #fff12f;
}

.fa-facebook-official {
    color: #fff;
}

.fa-google {
    color: #fff;
}

.fa-globe {
    color: #fff;
}


/*  600~900  */

@media only screen and (min-width:600px) and (max-width:899px) {
    .login,
    .leavemsg {
        width: 97.5%;
    }
    section.bw4 iframe {
        width: 500px;
        height: 350px;
    }
}


/* >900 */

@media only screen and (min-width:900px) {
    .login,
    .leavemsg {
        width: 25%;
    }
    section.bw4 iframe {
        width: 500px;
        height: 350px;
    }
}


/*
Text
 */

section.bw4 .textcontent {
    height: 290px;
}


/*
| LEAVE MSG
 */

.leavemsg {
    background-color: #4e7a4e;
    display: none;
}

.leavemsg .content {
    background-color: rgba(255, 255, 255, .4);
    border-radius: 8px;
}

.leavemsg .header {
    line-height: 40px;
    letter-spacing: 10px;
    font-weight: 700;
    font-size: 1.4em;
    text-align: center;
    color: #fff12f;
}

.leavemsg .header#username {
    line-height: 30px;
    letter-spacing: 8px;
    font-weight: 600;
    font-size: 1.2em;
    text-align: center;
    color: #fff;
}

.leavemsg .content {
    padding: 10px;
    letter-spacing: 5px;
    line-height: 30px;
    margin-top: 15px;
}


/*
| NEW MSG
 */

#New_Msg input {
    width: 55%;
    height: 2em;
    font-size: .9em;
    border: none;
    border-bottom: 1.5px solid #333;
    text-indent: .5em;
}

#New_Msg input {
    background-color: rgba(51, 51, 51, 0);
}

#New_Msg input:disabled {
    background-color: rgba(51, 51, 51, 0.15);
}

::-webkit-input-placeholder {
    color: #f00;
}

::-moz-placeholder {
    color: #f00;
}

:-ms-input-placeholder {
    color: #f00;
}

input:-moz-placeholder {
    color: #f00;
}

#New_Msg textarea {
    width: 99.5%;
    resize: none;
}

#New_Msg .btn_wrapper {
    padding-top: 25px;
    position: relative;
    text-indent: 0px;
}

#New_Msg .btn {
    color: #fff;
    border: 1.5px solid rgba(51, 51, 51, 0.3);
    padding: 3px 15px;
    border-radius: 5px;
    box-shadow: 3px 3px 5px -3px rgba(1, 1, 1, 0.6);
}

#New_Msg .send {
    background: -ms-linear-gradient(180deg, rgba(47, 118, 224, 1) 0.00%, rgba(67, 195, 235, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(47, 118, 224, 1) 0.00%, rgba(67, 195, 235, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(47, 118, 224, 1) 0.00%, rgba(67, 195, 235, 1) 100%);
    background: -o-linear-gradient(180deg, rgba(47, 118, 224, 1) 0.00%, rgba(67, 195, 235, 1) 100%);
    background: linear-gradient(180deg, rgba(47, 118, 224, 1) 0.00%, rgba(67, 195, 235, 1) 100%);
    -webkit-transition: background .5s linear;
    -moz-transition: background .5s linear;
    -ms-transition: background .5s linear;
    -o-transition: background .5s linear;
    transition: background .5s linear;
    float: right;
}

#New_Msg .cancel {
    background: -ms-linear-gradient(180deg, rgb(189, 70, 70) 0.00%, rgba(224, 47, 47, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgb(189, 70, 70) 0.00%, rgba(224, 47, 47, 1) 100%);
    background: -moz-linear-gradient(180deg, rgb(189, 70, 70) 0.00%, rgba(224, 47, 47, 1) 100%);
    background: -o-linear-gradient(180deg, rgb(189, 70, 70) 0.00%, rgba(224, 47, 47, 1) 100%);
    background: linear-gradient(180deg, rgb(189, 70, 70) 0.00%, rgba(224, 47, 47, 1) 100%);
    -webkit-transition: background .5s linear;
    -moz-transition: background .5s linear;
    -ms-transition: background .5s linear;
    -o-transition: background .5s linear;
    transition: background .5s linear;
    float: left;
}

#New_Msg .send:hover,
#New_Msg .send:focus {
    background: -ms-linear-gradient(180deg, rgb(49, 107, 193) 0.00%, rgb(32, 176, 222) 100%);
    background: -webkit-linear-gradient(180deg, rgb(49, 107, 193) 0.00%, rgb(32, 176, 222) 100%);
    background: -moz-linear-gradient(180deg, rgb(49, 107, 193) 0.00%, rgb(32, 176, 222) 100%);
    background: -o-linear-gradient(180deg, rgb(49, 107, 193) 0.00%, rgb(32, 176, 222) 100%);
    background: linear-gradient(180deg, rgb(49, 107, 193) 0.00%, rgb(32, 176, 222) 100%);
}

#New_Msg .cancel:hover,
#New_Msg .cancel:focus {
    background: -ms-linear-gradient(180deg, rgb(160, 59, 59) 0.00%, rgb(226, 56, 56) 100%);
    background: -webkit-linear-gradient(180deg, rgb(160, 59, 59) 0.00%, rgb(226, 56, 56) 100%);
    background: -moz-linear-gradient(180deg, rgb(160, 59, 59) 0.00%, rgb(226, 56, 56) 100%);
    background: -o-linear-gradient(180deg, rgb(160, 59, 59) 0.00%, rgb(226, 56, 56) 100%);
    background: linear-gradient(180deg, rgb(160, 59, 59) 0.00%, rgb(226, 56, 56) 100%);
}

#New_Msg .btn_wrapper:after {
    content: "";
    display: block;
    clear: both;
}


.text-center{
    text-align: center;
}