/*
Theme Name:     colormag-child
Description:    현대해상 직영론센터 교육 홈페이지 입니다.
Author:         강신민
Template:       colormag

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/
/* @import url("../colormag/style.css"); */

/*
여기에 자신의 CSS를 추가할 수 있습니다.
도움 아이콘을 클릭하면 더 알아볼 수 있습니다.
*/
/*페이지내에 우측레이아웃 확보*/
/* Grid Colum CSS */
.c_grid_row {overflow:auto; margin-bottom:20px;}
.c_grid_column {float:left;}
.c_grid_column div.c_grid_column_gutter {padding:0 20px;}
.c_grid_half {width:50%;}

@media only screen and (max-width: 40em) {
    .c_grid_half {width:100%;}
    .c_grid_column .c_grid_column_gutter {padding:0 !important;}
    .c_grid_column {margin-bottom:20px;}
}
/* Grid Colum CSS 써먹기
div class="c_grid_row"
  div class="c_grid_column c_grid_half"
    div class="c_grid_column_gutter"
      [contact-form-7 id="20" title="Contact form 1"]
    /div
  /div

  div class="c_grid_column c_grid_half"
    div class="c_grid_column_gutter"
      h3 Find us/h3
      내용을....

    /div
  /div
/div */
/*flexbox  */
/* footer {
  background:black;
  padding: .5vw;
  font-size: 100%;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  -ms-flex-direction: column;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  display: -webkit-box;
  display: flex;
}
footer div {

  background: orange;
  -webkit-box-flex: auto;
  -ms-flex: auto;
  flex: auto;
  width: 5em;
  height: 10em;
  margin: .75vw;
}
적용
footer
  div>p>span>いち/span/p/div
  div>p>span>に/span/p/div
  div>p>span>さん/span>/p/div
  div>p>span>し/span>/p/div
  div>p>span>ご/span>/p/div
 /footer
*/

/*  삼각형만들기 */
.triangle_up2 {
  width: 40%;
  padding-bottom: 28.2842712474619%; /* 삼각형의 넓이는 높이의 1.4 배 */
  position: relative;
  overflow: hidden;
}
.triangle_up2 a {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: hotpink;
  transform-origin: 0 100%;
  transform: rotate(60deg) skewX(30deg);
  transition: background-color .3s;
}

.triangle_up2 a:hover {
  background: dodgerblue;
}
/* 적용
 div class="triangle_up2"a href="#"/a/div */
#m_excelEmbedRenderer_m_ewaEmbedViewerBar{
    position: absolute;
    bottom: 0;
    height: 0px;
    left: 0;
    right: 0;
    overflow: hidden;
}
.ewa-embed-footer {
    position: absolute;
    bottom: 0;
    height: 0px;
    left: 0;
    right: 0;
    overflow: hidden;
}

/* 하단 숨기기 1번을 2번 아래로 */
#hidden1{
  position: relative;
  z-index: 1;
}
#hidden2{
  position: relative;
  left: 0px;
  top: -50px;
  z-index: 2;
}
#hidden3{
  position: relative;
  left: 0px;
  top: 42px;
  z-index: 2;
}
#hidden4{
  position: relative;
  left: 22px;
  top: -560px;
  z-index: 3;
}
#hidden5{
  position: relative;
  left: 0px;
  top: -37px;
  z-index: 2;
}
/* BOX Line */
.mosboxline1{
    width: 312px;
    position: relative;
    border-style: solid;
    border-width: 40px 10px 10px 10px;
    border-color: #3d3b3f;
    padding: 0px;
    margin: 0px;
}
.mosboxline2{
    width: 291px;
    position: relative;
  /*border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #3d3b3f;
    padding: 0px;
    margin: 0px; */
}
/* 라디오 박스 */
.man1{
    text-align: center;
    margin-bottom: 0px;
    color: #000000 ;
    background-color: #f7ebf7;
    border:none;
    height: 30px;
}
.man2{
    text-align: center;
    margin-bottom: 0px;
    color: #000000 ;
    background-color: #d8f0f2;
    border:none;
    height: 30px;
    line-height: 30px;
}
/*   TextBox Margene */
#mos1{
    background-color: #f7ebf7;
    border-color: #f7ebf7;
    text-align: center;
    margin-bottom: 0px;
    width: 240px;
    border:none;
    height: 30px;
}
#mos2{
    background-color: #d8f0f2;
    border-color: #d8f0f2;
    text-align: center;
    margin-bottom: 0px;
    width: 240px;
    border:none;
    height: 30px;
}
/* 테에블정렬 */
#mosbox{
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  border:none;
}
#mos3{
/*  clear: left; */
    float: left;
    }
#mos4{
/*  clear: left; */
    margin-left: auto;
    margin-right: auto;
    }
#mos5{
/*  clear: left; */
    float: right;
    }
/* .clearfix {
    overflow: auto;
} */
.mosfix {
    overflow: auto;
}
#mos6{
    margin-bottom: 0px;
}
.img {
    margin-bottom: 0px;
}

/* 태그숨기기 */
#content .post .article-content .below-entry-meta .tag-links{
       display:none;
}
/*   테이블 선 색표시 */
.table,td{
     border-color: #000000;
     vertical-align: middle;
     margin-left: auto;
     margin-right: auto;
}

/* hover */
.KSM1{
  width: 100%;
  text-align: center;
}
.KSM2 {
  display: inline-block;
  padding: 30px;
  margin: 5px;
  border: 2px solid #601002;
  border-radius: 30px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
  width: 310px;
  transition: background-color 2s;
}

.KSM2:hover{
  background-color: #3F48CC;
}
.KSM3{
  border: 2px solid #C3C3C3;
  border-radius: 50%;
}
/* 와꾸 */
.KSM4{
    border-style: solid;
    border-width: 1px 03px 3px 1px;
    border-color: #5B88BF;
    border-radius: 10px 10px 10px 10px;
}
/* img center */
.mosic {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* google fonts */
.gf1{

}
/* marquee */
.marquee1{
  position: relative;
  overflow: hidden;
}
.marquee1 p {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee1 15s linear infinite; /* Apply animation to this element */
}
.marquee1 div {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee1 15s linear infinite; /* Apply animation to this element */
}
/* Move it (define the animation) */
@keyframes marquee1 {
 0%   {
 transform: translateX(100%);
 }
 100% {
 transform: translateX(-100%);
 }
}


/* 좌에서 우로 */
.marquee2{
  position: relative;
  overflow: hidden;
}
.marquee2 p {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee2 15s linear infinite; /* Apply animation to this element */
}
.marquee2 div {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee2 15s linear infinite; /* Apply animation to this element */
}
/* Move it (define the animation) */
@keyframes marquee2 {
 0%   {
 transform: translateX(-100%);
 }
 100% {
 transform: translateX(100%);
 }
}

/* 아래로 위에서 */
.marquee3{
  position: relative;
  overflow: hidden;
}
.marquee2 p {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee2 15s linear infinite; /* Apply animation to this element */
}
.marquee2 div {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee2 15s linear infinite; /* Apply animation to this element */
}
/* Move it (define the animation) */
@keyframes marquee3 {
 0%   {
 transform: translateY(100%);
 }
 100% {
 transform: translateY(-100%);
 }
}
/* 위에서 아래로  */
.marquee4{
  position: relative;
  overflow: hidden;
}
.marquee4 p {
 line-height: 50px;
 text-align: center;
 transform:translateY(100%); /* Starting position */
 animation: marquee4 15s linear infinite; /* Apply animation to this element */
}
.marquee4 div {
 line-height: 50px;
 text-align: center;
 transform:translateY(100%); /* Starting position */
 animation: marquee4 15s linear infinite; /* Apply animation to this element */
}
/* Move it (define the animation) */
@keyframes marquee4 {
 0%   {
 transform: translateY(-100%);
 }
 100% {
 transform: translateY(100%);
 }
}

/* 바운드 */
.marquee5{
  position: relative;
  overflow: hidden;
}
.marquee5 p {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee5 5s linear infinite alternate; /* Apply animation to this element */
}
.marquee5 div {
 line-height: 50px;
 text-align: center;
 transform:translateX(100%); /* Starting position */
 animation: marquee5 5s linear infinite alternate; /* Apply animation to this element */
}
/* Move it (define the animation) */
@keyframes marquee5 {
 0%   {
 transform: translateX(10%);
 }
 80% {
 transform: translateX(0%);
 }
}


/* patten */
.zigzag {
  min-height:200px;
  background:
    linear-gradient(145deg, #ccc 25%,
    transparent 25%) -50px 0,
    linear-gradient(225deg, #ccc 25%,
    transparent 25%) -50px 0,
    linear-gradient(315deg, #ccc 25%,
    transparent 25%),
    linear-gradient(35deg, #ccc 25%,
    transparent 25%);
    background-size: 100px 100px;
    background-color: #eee;
}

.donggle {
  min-height:200px;
  background: repeating-radial-gradient(closest-side at 25px 35px, #ccc 15%, #eee 40%);
  background-size:60px 60px;
  background-color: #fff;
}

.sasun {min-height:200px;
  background-image: repeating-linear-gradient(165deg, #ccc, #ccc 60px, #dbdbdb 60px, #dbdbdb 120px);
  }

.sagak {min-height:200px;
  background: linear-gradient(30deg, #bdbdbd 12%,transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
  linear-gradient(150deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
  linear-gradient(30deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
  linear-gradient(150deg, #bdbdbd 12%, transparent 12.5%, transparent 87%, #bdbdbd 87.5%, #bdbdbd 0),
  linear-gradient(60deg, #dbdbdb 25%, transparent 25.5%, transparent 75%, #dbdbdb 75%, #dbdbdb 0),
  linear-gradient(60deg, #dbdbdb 25%, transparent 25.5%, transparent 75%, #dbdbdb 75%, #dbdbdb 0), #ccc;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  background-size: 80px 140px;
}

/* floating Menu */
.fm {
 position: fixed;
 z-index: 100;
}
.fm a,
.fm h3 {
 display: block;
}

/* animation */
.aniname {
  position: relative;
  animation: aniname 1s ease-in 0s 6 alternate;
}
@keyframes aniname {
  from {
    top: 0px;
    left: 0px;
    }
  33% {
    top: 0px;
    left: 150px;
    }
  66% {
    top: 120px;
    left:0px;
    }
  to {
    top: 120px;
    left: 150px;
  }
}

/* 20. 배경 움직이기*/
.aniname20 {
  background-position: bottom left;
  animation: aniname20 10s ease 1s 2 alternate none;
}

@keyframes aniname20 {
  100% {
    background-position: bottom right;
  }
}

/* 19. 배경색 바꾸기 */
.aniname19 {
  animation: aniname19 12s ease 1s 1 forwards;
}

@keyframes aniname19 {
  33% {
    background-color: green;
  }
  66% {
    background-color: blue;
  }
}


/* 18. 글자 색 변경 */
.aniname18 {
  animation: aniname18 10s ease 1s 1 forwards;
}

@keyframes aniname18 {
  50% {
    color: green;
  }
  100% {
    color: blue;
  }
}


/* 17. 글자크기 변경*/
.aniname17 {
  font: 100 1em sans-serif;
  animation: aniname17 3s ease 1s 3 alternate forwards;
}

@keyframes aniname17 {
  100% {
    font-size: 3em;
  }
}

/* 16. 펼치기 */
.aniname16 {
max-width: 0%;
overflow: hidden;
animation: aniname16 2s ease 1s 3 alternate forwards;
}

@keyframes aniname16 {
  100% {
    max-width: 100%;
  }
}

/* 15. 흐리게 하기*/
.aniname15 {
  opacity: 0.0;
  animation: aniname15 2s ease 1s 3 alternate forwards;
}

@keyframes aniname15 {
  100% {
    opacity: 1.0;
  }
}


/* 14. 아웃 라인 늘리기*/
.aniname14 {
  outline: 0px solid black;
  animation: aniname14 2s linear 1s 3 alternate forwards;
}

@keyframes aniname14 {
  100% {
    outline: 20px solid gold;
  }
}


/* 13. 내부여백 늘리기 */
.aniname13{
  padding: 5px;
  animation: aniname13 1s ease 1s 5 alternate forwards;
}

@keyframes aniname13 {
  100% {
    padding: 50px;
  }
}

/* 12. 왼쪽으로 이동 */
.aniname12 {
  position: absolute;
  right: 0px;
  animation: aniname12 1s ease 1s 6 alternate forwards;
}

@keyframes aniname12 {
  100% {
    right: 100%;
  }
}


/* 11. 윗줄 만들기 */
.aniname11 {
  text-decoration: overline wavy green;
  animation: aniname11 3s ease 1s 5 alternate forwards;
}

@keyframes aniname11 {
  50% {
    text-decoration: orange;
  }
  100% {
    text-decoration: blue;
  }
}
/* 10. 밑줄 만들기*/
.aniname10 {
  text-decoration: underline;
  text-decoration-color: green;
  animation: aniname10 3s ease 1s 5 alternate forwards;
}

@keyframes aniname10 {
  50% {
    text-decoration-color: orange;
  }
  100% {
    text-decoration-color: blue;
  }
}

/* 9. 텍스트 밀기 */
.aniname9 {
  animation: aniname9 3s ease 1s 5 alternate forwards;
}

@keyframes aniname9 {
  100% {
    text-indent: 10%;
  }
}


/* 8. 글자 그림자 나타내기 */
 .aniname8 {
  text-shadow: 0px 0px 0px black;
  animation: aniname8 5s ease 1s 3 alternate forwards;
}

@keyframes aniname8 {
  33% {
    text-shadow: 2px 2px 2px black;
  }
  66% {
    text-shadow: -2px -2px 2px black;
  }
  100% {
    text-shadow: 0px 0px 10px black;
  }
}


/* 7. 영역 수직이동 */
.aniname7 {
  position: absolute;
  top: 0px;
  animation: aniname7 1s ease 1s 6 alternate forwards;
}

@keyframes aniname7 {
  100% {
    top: 100%;
  }
}

/* 6. 이미지회전 */
.aniname6{
animation: aniname6 2s ease 1s 3 alternate forwards;
}

@keyframes aniname6 {
100% {
transform: rotate(360deg);
}
}


/* 5. 텍스트 수직이동 */
.aniname5 {
vertical-align: top;
animation: aniname5 3s linear 1s 3 alternate forwards;
}

@keyframes aniname5 {
50% {
vertical-align: middle;
}
100% {
vertical-align: bottom;
}
}

/* 4. 숨기기 */
.aniname4 {
 visibility: hidden;
 animation: aniname4 2s linear 1s 4 forwards;
}

@keyframes aniname4 {
 50% {
 visibility: hidden;
 }
 100% {
visibility: visible;
 }
}

/* 3. 크기확대 */
.aniname3 {
  width: 50%;
  animation: aniname3 3s ease 1s 3 alternate forwards;
}

@keyframes aniname3 {
  100% {
    width: 100%;
  }
}


/*  2. 글자간격  */
.anyname2 {
 word-spacing: -4em;
 animation: anyname2 1s ease 1s 5 alternate forwards;
}

@keyframes anyname2 {
50% {
 word-spacing: 4em;
 }
100% {
 word-spacing: 0em;
 }
}


/* 1.위치순서 */
.box1 {
 z-index: 1;
 animation: anyname1 1s ease 1s 5 alternate forwards;
}

.box2 {
 z-index: 2;
}

@keyframes anyname1 {
 100% {
 z-index: 3;
 }
}
