
.mainframe                  { font-size: 15px;  background: url('/images/event/20201215/bg.jpg') top; background-repeat: no-repeat;background-color: #e40309; color: white;}
.contain                    { width: 80%; max-width: 1500px;margin: 0 auto; }
.row                        { margin: 0;}
p                           { margin-bottom: 7px; }
.mainframe img.img-thumbnail           { background-color: transparent;border: 0; padding: 1px;}
aaa                         { font-size: 20px; }

.party_title                { margin-bottom: 0px; }
.party_title img:first-child        { max-height:191px; transform:translateX(-47%);}
.party_title img:last-child         { max-height:46px; transform:translateX(-40%);}

.party_photo_special .photo-one     {margin: 0; padding: 11px;}
.party_photo_special .photo-one img { border: 2px solid #d6b554; cursor: pointer;}

.party_photo_general .photo-one     { width: 236px; height: 178px; float: left; margin: 7px; background-size: cover; background-position: center center; cursor: pointer;}

.party_photo p                      { text-align: justify; }
.party_photo .photo-gallery         {display: flex; align-items: center; justify-content: space-around; margin: 100px auto 0; max-width: calc(100% - 60px);  }
.party_photo .photo-gallery label   { cursor: pointer; }
.party_photo .row div:first-child   { padding-right:4%; }
.party_photo .row div:last-child    { padding-left:4%;  cursor: pointer; }
.party_photo span                   { font-weight: bolder; }
.party_photo                        { margin-top:100px;}

.party_video                { background-color: #e40309; padding: 80px 0; }
.party_video .photo-one     {margin: 0; padding: 0; cursor: pointer;}
.party_video img            {padding: 0; border-radius: 0;width: 100%;}


p.more                      { text-align: right; color: white; font-weight: bolder;margin: 20px 0; cursor: pointer;}

@media only screen and (max-width: 1000px){
    .contain                { width: 95%;}
}

@media only screen and (max-width: 900px){
    .party_title img:first-child       { transform:translateX(0%);display: block;margin: 0 auto;}
    .party_title img:last-child       { transform:translateX(0%);}
}

.mclose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: black!important;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
    cursor:pointer;
    opacity: 0.7;
}

/* #myModal table { margin: 0 auto; height: 500px;}*/

#myModal table {
    border: none;
    background-color:transparent;
    text-align:center;
} 
#myModal table td { height: 500px; vertical-align: middle; width: 25%; max-width: 700px; height: 500px; }
/* mymodal */
#myModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 70px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #590000; /* Fallback color */
}

/* Modal Content (image) */
#myModal .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    /* max-width: 700px; */
    height: 500px;
    vertical-align:middle;
}

/* Caption of Modal Image */
#myModal #caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0 0 0;
    /* height: 150px; */
    font-size: 15px;
}
#myModal img.img-thumbnail {
    border:3px solid white; 
}
/* The Close Button */
.close{
    position: absolute;
    top: 15px;
    right: 35px;
    color: white!important;
    font-size: 25px;
    font-weight: bold;
    transition: 0.3s;
    cursor:pointer;
}
.close:hover, .mclose:hover{
    text-decoration: none;
    cursor:pointer;
}
.modal                      { padding:50px 17px; font-family: 굴림, Gulim, Verdana, Arial, Helvetica, sans-serif;  font-size: 15px; text-align: justify;}
#modal_view .modal-dialog   { width: 100%; height: auto; margin:0 auto; max-width: 900px; }
#modal_view .modal-content  { width: 100%; height: auto; }
#modal_view .modal-title    { font-size: 32px; text-align: center; }
#modal_view .modal-body     { padding: 50px;}

#modal_music .modal-dialog  { max-width: 500px; height: auto; margin:50px auto;}
#modal_music .modal-title    { margin-bottom: 30px; font-size: 20px; }


/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 720px){
    #myModal .modal-content {
        width: 100%;
    }
    #myModal {
        padding: 0; padding-top: 70px;
    }

}

/* 100% Image Width on Smaller Screens */

#scrollUp {
    bottom: 20px;
    font-size: 30px;
    line-height: 45px;
    right: 25px;
    width: 50px;
    font-weight: bold;
    border: none;
    color: white;
    background-color: black;
    border-radius: 50px; 
    text-align: center;
    height: 50px;
    -webkit-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
    -webkit-box-shadow: 0 6px 50px 8px rgba(21, 131, 233, 0.15);
    box-shadow: 0 6px 50px 8px rgba(21, 131, 233, 0.15);
    opacity: 0.6;
}
#scrollUp:hover { opacity: 1; }


.owl-stage {
  display: flex;
  align-items: center;
}
.owl-stage-outer {
    direction: initial;
  margin-top: 10px;
  margin-bottom: 10px;
}

.single-portfolio-slide img {
  cursor: pointer;
}

.owl-nav .owl-prev { 
    position: absolute;
    top:50%;
    transform:translateY(-50%);
    left:-27px;
    color: #900000;
}
.owl-nav .owl-next { 
    position: absolute;
    top:50%;
    transform:translateY(-50%);
    right:-27px;
    color: #900000;
}


.portfolio-sildes {
  position: relative;
  z-index: 1; }
  .portfolio-sildes .owl-dots {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; }
    .portfolio-sildes .owl-dots .owl-dot {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 8px;
      flex: 0 0 8px;
      max-width: 8px;
      margin: 0 5px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #900000;}
      .portfolio-sildes .owl-dots .owl-dot.active {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 38px;
        flex: 0 0 38px;
        max-width: 38px;
        width: 38px;
        border-radius: 15px;
        background-color: #ff282e; }

