body {
    margin: 0;
    padding-top: 50px;
    font-family: helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #5993bb;
}

a:hover {
    color: #77b6e2;
}

a.underline {
    text-decoration: underline;
}

a.button,
input[type="submit"] {
    color: #fff;
    background: #5993bb;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    border: 0;
}

a.button.light {
    color: #666;
    background: #ededed;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}


table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

table.hakjum th,
table.hakjum td {
    font-size: 14px;
    padding: 4px;
    margin: 0;
}

table th,
table td {
    font-size: 14px;
    padding: 6px;
    margin: 0;
}

table th.center {
    text-align: center;
}

tbody tr:nth-child(odd) {
    background: #efefef;
}

thead th,
tbody tr.total {
    background: #5993bb;
    color: #fff;
    font-weight: bold;
}

tbody td.num {
    text-align: right;
}

td input[type="submit"] {
    font-size: 12px;
    padding: 4px 6px;
}

td div.post-date {
    float: right;
}

td div.order-cost {
    float: right;
}

td span.order-item {
    float: left;
}

form p label,
form p input {
    float: left;
    clear: both;
}

form p label {
    font-size: 14px;
    padding-bottom: 4px;
}

form p input {
    width: 300px;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 0;
    background: #efefef;
    color: #666;
    border-radius: 4px;
}

form ul {
    clear: both;
    float: left;
    padding: 10px 30px;
}

form ul li {
    clear: both;
    font-size: 14px;
}



#content {
    padding: 0 30px;
    margin-right: 0%;
}

#main {
    float: left;
    width: 100%;
    margin-right: -200px;
    padding: 35px 0 0 0;
}



#login,
#signup {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 45px 0 0 0;
}

#login>form,
#signup>form {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    margin-top: -40px;
    padding: 30px 40px 40px;
    border-radius: 2px;
    background-color: white;
}

#login>form>h1,
#signup>form>h1 {
    margin: 0 0 20px 0;
    font-weight: bold;
}

#login>form>p,
#signup>form>p {
    margin: 0;
}

#login>form>p>label,
#signup>form>p>label {
    display: block;
    position: relative;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 2px;
    color: #333;
}

#login>form>p>label::after,
#signup>form>p>label::after {
    bottom: 0;
    color: white;
    content: ":";
    position: absolute;
    transform: translate(-100%, 0);
}

#login>form>p>input,
#signup>form>p>input {
    padding: 11px 0 10px 10px;
    min-width: 250px;
    outline: 0;
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 2px;
}

#login>form>p>select,
#signup>form>p>select {
    width: 300px;
    padding: 11px 0 10px 10px;
    font-size: 13px;
    color: #333;
    border: 1px solid #ddd;
    background: #efefef;
    float: left;
    clear: both;
    margin: 0 0 10px 0;
}

#login>form>ul.errorlist,
#signup>form>ul.errorlist {
    color: red;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

#login>form>a,
#signup>form>a {
    margin-top: 2px;
    color: #666;
    font-size: 12px;
}

#login .btn-login,
#login .btn-signup,
#signup .btn-login,
#signup .btn-signup {
    width: 50%;
    border: none;
    color: white;
    background-color: #0095f6;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 13px;
}

#login .modal {
    font-size: 13px;
}

#login .modal-tablecell {
    font-size: 13px;
    border: 1px solid #817b7b;
}

#login>form .info-text,
#signup>form .info-text {
    color: #000000;
    font-size: 13px;
}

#login>form .info-text>span>a {
    color: #002fff;
    font-size: 13px;
    text-decoration: underline;
}


.product-detail {
    text-align: left;
    font-size: 14px;
}

.product-detail .subject {
    margin-left: 20px;
    margin-right: 5px;

}

.product-detail .subject .subject_detail {
    margin-left: 20px;
    margin-bottom: 10px;
}

.product-detail h6 .cancel .like {
    font-size: 14px;
    font-weight: bold;
    color: rgb(255, 255, 255);
}

.product-detail h6 .vote .like {
    font-size: 14px;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.product-detail .price {
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.product-detail img {
    display: block;
    margin-top: 25px;
    margin-bottom: 20;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px 20px 0px;
}

.professor {
    margin-top: 30px;
}

.professor img {
    float: left;
    margin-top: 0px;
    margin-bottom: 10;
    width: 20%;
    padding: 0 10px 20px 20px;
}


.product-detail h1 {
    margin-bottom: 0;
    font-size: 22px;
    padding: 25px 0 0 0;
}

.product-detail h2 {
    margin-top: 10px;
    font-size: 18px;
}


.product_blog {
    clear: both;
    width: 100%;
}

.product_blog h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}

.comment {
    font-size: 0.9em;
    margin: 0 0 0px 0px;
    padding-left: 30px;
}

.navi-menu {
    font-size: 15px;
    font-weight: bold;
    padding: 3px 0px;
    color: rgb(112, 112, 112);
}

.navbar-brand img {
    margin-top: 0px;
    margin-bottom: 0;
    width: 60%;
    float: left;
    padding: 0 0 0 0;
}


footer {
    text-align: center;
}

footer p {
    font-size: 0.8rem;
}

footer hr {
    width: 90%;
}

.center-hr {
    margin-left: auto;
    margin-right: auto;
}


#player {
    width: 100%;
}

#player iframe {
    width: 100%;
    height: 100%;
}


/* 모바일 버전  (0~768px) */
@media (max-width: 768px) {

    .product-detail img {
        margin-top: 25px;
        margin-bottom: 20;
        width: 100%;
        float: left;
        padding: 0 20px 20px 0px;
    }

    .product-detail h1 {
        margin-bottom: 0;
        font-size: 18px;
        padding: 25px 0 0 0;
        text-align: left;
    }

    .professor img {
        margin-top: 0px;
        margin-bottom: 10;
        width: 40%;
        float: left;
        padding: 0 10px 20px 0px;
    }

    footer hr {
        width: 95%;
    }

}


/*
##Device = Tablets, Ipads (portrait)
##Screen = B/w 768px to 1024px
##Device = 태블릿, 아이패드(가로)
##Screen = 768px에서 1024px 사이
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .professor img {
        margin-top: 0px;
        margin-bottom: 10;
        width: 60%;
        float: left;
        padding: 0 10px 20px 0px;
    }

}