@font-face {
    font-family: agencyfb;
    src: url(/fonts/AgencyFB-Bold.ttf);
}

#cv fieldset,
#cv .div1 {
    font-family: agencyfb;
    font-weight: bold;
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
    /*stacking fieldsets above each other*/
    position: relative;
}

#cv .divright .title {
    padding: 40px 0px 10px 20px;
}

#cv .divright .title h2 {
    font-size: 48px;
    color: #1f5f7a;
}

#cv .divright .header {
    position: relative;
}

#cv .divright .header h3 {
    position: absolute;
    top: 40px;
    left: 140px;
    color: white;
    font-size: 36px;
}

#cv .divright .header img {
    position: absolute;
    width: 70px;
    top: 26px;
    left: 35px;
}

#cv .divright .title h3 {
    font-size: 2vw;
    color: #1f5f7a;
}

#cv .divright .information .info1 {
    margin-left: 50px;
    margin-bottom: 10px;
}

#cv .divright .information .emptydiv {
    height: 20px;
    width: 100%;
}

#cv .divright .experience {
    margin: 0px 0 20px 0px;
}


/*Hide all except first fieldset*/

#cv fieldset:not(:first-of-type) {
    display: none;
}


/*inputs*/

#cv input,
#cv textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}


/*buttons*/

#cv .action-button {
    width: 100px;
    background: #5050ff;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#cv .action-button:hover,
#cv .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #5050ff;
}

.cveditimg {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: solid 2px #2C3E50;
    object-fit: cover;
}

.divcvimg {
    margin: 4.8vw auto;
    text-align: center;
    position: relative;
    padding-bottom: 70%;
    overflow: hidden;
    width: 70%;
}

.cvimg {
    object-fit: cover;
    border-radius: 50%;
    border: solid 4px white;
    position: absolute;
    top: 0;
    left: 0;
    width: 97%;
    height: 97%;
}


/*
backup
.divcvimg {
    margin: 60px 0;
    text-align: center;
}

.cvimg {
    object-fit: cover;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: solid 4px white;
}
*/

#cv .divleft .title {
    width: 100%;
    padding: 10px;
}

#cv .divleft .title h2 {
    font-size: 48px;
    color: #1f5f7a;
}

#cv .divleft .header {
    position: relative;
}

#cv .divleft .header .spclh3 {
    font-size: 28px
}

#cv .divleft .header h3 {
    position: absolute;
    top: 40px;
    left: 140px;
    color: white;
    font-size: 36px;
}

#cv .divleft .header img {
    position: absolute;
    width: 60px;
    top: 29px;
    left: 41px;
}

#cv .divleft .title h3 {
    font-size: 36px;
    color: #1f5f7a;
}

#cv .divleft .information .info1 {
    margin-left: 50px;
    margin-bottom: 10px;
    overflow: auto;
    width: 85%;
}

#cv .divleft .information .info1 .subinfo1 h3 {
    font-size: 25px;
    color: white;
    /*line-break: anywhere;*/
}

#cv .divleft .information .info1 .subinfo1 .eml {
    font-size: 1.3vw;
}

#cv .divright .information .subinfo2 h3 {
    font-size: 22px;
    color: #1f5f7a;
    /*line-break: anywhere;*/
}

#cv .divright .information .subinfo3 h3 {
    font-size: 18px;
    color: #1f5f7a;
    /*line-break: anywhere;*/
}

#cv .container {
    padding: 0;
    width: 1000px;
    height: 1414.5px;
    margin: auto;
}

#cv .divleft .information .info1 .skill {
    float: left;
    margin: 10px;
}

#cv .divleft .emptydiv {
    height: 50px;
}

#cv .gapbetween {
    height: 8vw;
    width: 100%;
}

@media only screen and (max-width: 1020px) {
    #cv .container {
        width: 80vw;
        height: 113.16vw;
    }
    .divcvimg {
        margin: 4.8vw auto;
    }
    .cvimg {
        border: solid 2px white;
    }
    #cv .divright .title {
        padding: 5vw 0px 1.25vw 2.5vw;
    }
    #cv .divright .title h2 {
        font-size: 3.84vw;
        margin-bottom: 0.8vw;
    }
    #cv .divright .title h3 {
        font-size: 2vw;
    }
    #cv .divleft .header img {
        width: 4.8vw;
        top: 2.32vw;
        left: 3.28vw;
    }
    #cv .divleft .header .spclh3 {
        font-size: 2.24vw;
    }
    #cv .divleft .header h3 {
        top: 3.2vw;
        left: 11.2vw;
        font-size: 2.88vw;
    }
    #cv .divleft .information .info1 {
        margin-left: 4vw;
        margin-bottom: 0.8vw;
    }
    #cv .divleft .information .info1 .tbl .wh45px {
        width: 4vw;
        height: 4vw;
    }
    #cv .divleft .information .info1 .subinfo1 h3 {
        font-size: 2vw;
    }
    #cv .divleft .information .info1 .subinfo1 .eml {
        font-size: 1.3vw;
    }
    #cv .divleft .information .info1 .skill {
        margin: 0.8vw;
    }
    #cv .divright .header img {
        width: 5.6vw;
        top: 2.08vw;
        left: 2.8vw;
    }
    #cv .divright .header h3 {
        top: 3.2vw;
        left: 11.2vw;
        font-size: 2.88vw;
    }
    #cv .divright .information .info1 {
        margin-left: 4vw;
        margin-bottom: 0.8vw;
    }
    #cv .divright .information .subinfo2 h3 {
        font-size: 1.76vw;
    }
    #cv .divright .information .subinfo3 h3 {
        font-size: 1.44vw;
    }
    #cv .divright .information .emptydiv {
        height: 1.6vw;
    }
    #cv .divright .experience {
        margin: 0px 0 1.6vw 0px;
    }
    #cv .divleft .emptydiv {
        height: 4vw;
    }
    #cv .gapbetween {
        height: 8vw;
    }
}

@media only screen and (max-width: 600px) {
    .cvimg {
        border: solid 1px white;
    }
}