/*
Theme Name: CAD DESIGN ACADEMY 2018
Author: TAKERU KYAN
Description: Themae of CDA2018
Version: 4.7.4
*/
html {
    font-size: 62.5%;
    width: 100%;
    overflow:auto;
}
@media screen and (max-width: 768px){html{max-width: 768px;}}
@media screen and (max-width: 480px){html{max-width: 480px;}}
*{zoom:1;}
h1{
  max-height: 100%; 
}
a{z-index: 0}
body {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    line-height: 1.5;
    color: #2b2b2b;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    position: relative;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@media screen and (max-width: 768px){
    body{min-width: 480px;overflow: hidden;}
}
@media screen and (max-width: 480px){
    body{min-width: 320px}
}
/* =============== Logo_To top of the page ================ */
#logoright{
    position: fixed;bottom: 15px;right:-50px;
    transition: all 1s 0s ease;
    -webkit-transition: all 1s 0s ease;
    z-index: 1
}
#logoright.slideIn{
    right:20px;
}
#logoright p{
    color: #999;
    text-align: center;
}
#logoright img{
    width: 50px;
    height: auto;
}
@media screen and (max-width: 768px){
    #logoright img{width: 40px}
}
/********Respnsive LightBox********/
a#swipebox-close {
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: left;
}
@media screen and (max-width: 768px){a#swipebox-close {width: 60px;height: 60px;}}
@media screen and (max-width: 480px){a#swipebox-close {width: 50px;height: 50px;}}

/********icon of "NEW"********/
.new_icon{position: absolute;
background-image: url(/wp-content/themes/cda_2018/images/new.png); 
background-size: contain;background-repeat: no-repeat;}
.campaign .new_icon, .news .new_icon{top: -11px;left: -28px;width: 86px;height: 50px;}
header .new_icon{top: -8px;left: 96px;width: 69px;height: 28px;}
@media screen and (min-width: 480px){header .new_icon{left: 32px;}}
@media screen and (min-width: 1030px){header .new_icon{top: -9px;left: -30px;width: 74px;height: 32px;}}