html, body{
    margin: 0;
    padding: 0;
}* {
    box-sizing: border-box;
}main{
    margin-top: 70px;
}a:hover{
    color: red;
}

/*----- T Y P E F A C E-----*/

@font-face {
    font-family: Ginto;
    src: url(/ASSETS/ABCGintoNormalVariable-Trial.ttf);
}

*{
    font-family: Ginto;
    font-weight: 400;
    font-size: 14px;
}header td{
    font-size: 13px;
}header a{
    font-size: 13px;
}table{
    font-size: 14px;
}td{
    font-size: 14px;
}h1{
    font-size: 18px;
}h1>span{
    font-size: 18px;
    font-weight: 150;
}h1.title{
    padding-bottom: 2px;
}h1.title>i{
    font-weight:400;
    font-size: 18px;
}h2.title{
    font-weight:400;
}.slick-prev, .slick-next { /* Arrows */
    font-size: 18px;
    line-height: 18px;
}.index{
    font-size:15px;
}.slick-dots li> button{ /* Buttons */
    font-size: 16px;
    line-height: 18px;
}

p{
    line-height: 18px;
}

/* larger text for larger screens*/
@media only screen and (min-width: 1300px) {
    *{
        font-family: Ginto;
        font-weight: 400;
        font-size: 16px;
    }header td{
        font-size: 14px;
    }header a{
        font-size: 14px;
    }table{
        font-size: 16px;
    }td{
        font-size: 16px;
    }h1{
        font-size: 22px;
    }h1>span{
        font-size: 22px;
    }h1.title{
        padding-bottom: 2px;
    }h1.title>i{
        font-size: 22px;
    }.slick-prev, .slick-next { /* Arrows */
        font-size: 20px;
    }.index{
        font-size:16px;
    }.slick-dots li> button{ /* Buttons */
        font-size: 18px;
        line-height: 18px;
    } 

    p{
        line-height: 22px;
    }
 
}

/*------T O P   N A V------*/
header td{
    /*width:50%;*/
    padding: 10px 25px;
}header td a{
    text-decoration: none;
    color: black;
}

/*fix CV button alignment in header*/
header td:nth-child(1) {
    width:180px;
}header td:nth-child(2) {
    width: calc(100VW - 180px - 140px);
    text-align: center;
}header td:nth-child(3) {
    width:140px;
    text-align: right;
}

/*------F O O T E R------*/
footer{
    margin-top: 50px;
    padding: 10px 25px;
    text-align: right;
}footer a{
    font-weight: 200;
    color: grey;
    text-decoration: none;
}


/*------T E X T   S L I D E------*/
h1{ /*exhibition title*/
    font-weight: 400;
    margin:0px;
    padding:0px;
	max-width: 95VW;
}h2{ /*credits*/
    padding-top: 0px;
    margin-top: 0px;
    font-weight: 200;
	max-width: 95VW;
}p{
    font-weight: 200;
    width: 90VW;
    max-width: 900px;
    margin-top: 25px;
    margin-bottom: 20px;
}#preview{
    color: black;
    text-decoration: underline;
    text-decoration-color: red;
}#preview:hover{
    color: red;
}#text-part{
    height:70VW;
	max-height: 600px;
    transform:translate(0%, 20%);

}i{
    font-weight: 200;
}

/*------C A R O U S E L------*/
.slider {
  margin: 25px;
  margin-bottom: 150px;

}

.slick-slide {
   margin: 0px 20px;
}

.slick-slide img {
  height:60VW;
  max-height: 75VH;
}

.slick-prev:before, .slick-next:before { /*The Arrow buttons*/
  color: #000000; /*arrow colour*/
}

.slick-slide {
  transition: all ease-in-out .3s;
  /*opacity: .2;*/ /*The opacity of the next slides*/
  opacity: 0;
}.slick-active {
  opacity: 1; /*The opacity of the active dot*/
}.slick-current {
  opacity: 1; /*The opacity of the current slide*/
}


/* A d d   A r r o w s*/
.slick-prev:before{
    content: '←';
}[dir='rtl'] .slick-prev:before{
    content: '→';
}.slick-next:before{
    content: '→';
}[dir='rtl'] .slick-next:before{
    content: '←';
}


.slick-dots li{
    display: none;
}.slick-prev, .slick-next {
    display: inline-block;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    /* B u t t o n   S t y l e*/
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    box-sizing: content-box;
    background-color: white;
    height:18px;
    width: 18px;
    top:-2px; /*align to index*/
    font-weight: 100;
}/* B u t t o n   P o s i t i o n*/
.slick-prev{
    left:0px;
    border-right:3px solid white;
}.slick-next{
    left:21px;
    border-left:3px solid white;
    box-shadow: 5px -1px 4px rgba(255, 255, 255, 0.8); /*Fake fade index under arrows*/
}


.index{
    text-indent: 52px; /* position slide index next to arrows*/
    font-weight: 150;
    position: relative;
    width:fit-content;
    top:-4px;
    text-indent: none;
}.caption{
    font-weight: 150;
    padding-top: 4px;
	max-width: 95VW;
}h2.title{
    padding-bottom: 0px;
    margin-bottom:7px;
}
/*----- C V --- C V --- C V --- C V -----*/

#cv{
    margin:100px 25px;
    max-width: 1100px;

}#cv table{
    font-weight: 100;
}#cv td{
    vertical-align: top;
    padding-right: 20px;
    min-width: 120px;
    padding-top:0px;
    padding-bottom: 12px;
    font-weight: 200;
} 

h3{
    margin: 0px;
    font-weight: 400;
    padding-bottom: 12px;
}

hr{
    margin:7px 0px;    
    height: 1px;
    background-color: lightgray;
    border: none;
}
#cv span{
    color: grey;
    font-weight: 200;
}#cv a{
    color: black;
    text-decoration: underline;
    text-decoration-color: red;
    font-weight: 200;
}#cv >div{
    margin-bottom: 30px;
}

ul{
    list-style: none;
    padding: 0px;
    margin: 0px;
}li{
    padding-bottom: 12px;
    font-weight: 200;
}

#collections{
    display: block;
    width: 100%;
    float: left;
    margin-top: 30px;
}#cv a:hover{
    color: red;
}

/*------ M E D I A   Q U E R I E S ------*/
@media only screen and (min-width: 1000px) {
	#text-part>p, #text-part>h2{
		max-width: 750px;
		
	}
}

@media only screen and (max-width: 600px) {
    /* BOTH PAGES - SMALLER PADDING ALL AROUND WINDOW*/
    header td, footer{
        padding: 5px 10px; 
    }.slider {
        margin: 10px;
		padding-bottom: 90px;
    }#cv{
        margin:70px 10px;
    }.slick-slide img {
        height:65VW;
    }#text-part{
        transform: translate(0%,0%);		
    }
    
    
    /* MAKE 1ST COLUMN OF CV TABLES SMALLER*/
    #cv td{
        min-width: 95px;
        padding-right: 10px;
    }#cv td:nth-child(1){
        max-width: 95px;
    }
    
    /*  M O B I L E   C A R O U S E L*/
    .slick-dots{
        display: inline-block;
        left: 55px;
        top:-22px;
        height: 22px;        
    }.slick-dots li{
        display: none;
    }/* B u t t o n   P o s i t i o n*/
.slick-slide img {
        height:auto;
        max-height:60VH;
        max-width:100VW;
    }
  
 
    main{
        margin-top: 100px;
        margin-bottom: 130px;
    }
    
    /*fix CV button alignment in header*/
    header td:nth-child(1) {
        width:125px;
    }header td:nth-child(2) {
        width: calc(100VW - 125px - 80px - 10px);
        text-align: center;
    }header td:nth-child(3) {
        width:80px;
}
