/* page */
@font-face {
    font-family: Montserrat-Regular;
    src: url('/fonts/Montserrat2019/Montserrat-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

 @font-face {
    font-family: Montserrat-Medium;
    src: url('/fonts/Montserrat2019/Montserrat-Medium.ttf');
    font-weight: 500;
    font-style: normal;
} 
/*
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat2019/Montserrat-Regular.eot');
    src: url('/fonts/Montserrat2019/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Montserrat2019/Montserrat-Regular.woff2') format('woff2'),
        url('/fonts/Montserrat2019/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('/fonts/Montserrat2019/Montserrat-Medium.eot');
    src: url('/fonts/Montserrat2019/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Montserrat2019/Montserrat-Medium.woff2') format('woff2'),
        url('/fonts/Montserrat2019/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
} 

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat2019/Montserrat-SemiBold.eot');
    src: url('/fonts/Montserrat2019/Montserrat-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Montserrat2019/Montserrat-SemiBold.woff2') format('woff2'),
        url('/fonts/Montserrat2019/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat2019/Montserrat-Bold.eot');
    src: url('/fonts/Montserrat2019/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Montserrat2019/Montserrat-Bold.woff2') format('woff2'),
        url('/fonts/Montserrat2019/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat2019/Montserrat-ExtraBold.eot');
    src: url('/fonts/Montserrat2019/Montserrat-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Montserrat2019/Montserrat-ExtraBold.woff2') format('woff2'),
        url('/fonts/Montserrat2019/Montserrat-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}*/
  

@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeue/BebasNeue-Regular.eot');
    src: url('/fonts/BebasNeue/BebasNeue-Regular.eot?#iefix') format('embedded-opentype'),
        url('/fonts/BebasNeue/BebasNeue-Regular.woff2') format('woff2'),
        url('/fonts/BebasNeue/BebasNeue-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeue/BebasNeue-Bold.eot');
    src: url('/fonts/BebasNeue/BebasNeue-Bold.eot?#iefix') format('embedded-opentype'),
        url('/fonts/BebasNeue/BebasNeue-Bold.woff2') format('woff2'),
        url('/fonts/BebasNeue/BebasNeue-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BebasNeueBoldExpand';
    src: url('/fonts/BebasNeue/BebasNeueBoldExpand.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MerriweatherBlack';
    src: url('/fonts/Merriweather/MerriweatherBlack.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratMediumPDF';
    src: url('/fonts/Montserrat2019/MontserratMediumPDF.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Yellowtail';
    src: url('/fonts/Yellowtail/Yellowtail-Regular.eot');
    src: url('/fonts/Yellowtail/Yellowtail-Regular.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Yellowtail/Yellowtail-Regular.woff2') format('woff2'),
        url('/fonts/Yellowtail/Yellowtail-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



html {
    font: 13px/1.1 sans-serif;
    overflow: auto;
    padding: 0.6in 0.5in 0.6in 0.5in;
    box-sizing: border-box;
    background: #525659;
    background: linear-gradient(135deg, rgb(47, 63, 99) 6%, rgb(148, 148, 148) 6%, rgb(148, 148, 148) 12%, rgb(47, 63, 99) 12%, rgb(47, 63, 99) 88%, rgb(148, 148, 148) 88%, rgb(148, 148, 148) 94%, rgb(47, 63, 99) 94%);
    box-shadow: inset 0 0 100vh rgba(0,0,0,0.7);
    min-height: 100vh;
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    box-sizing: border-box;
    height: 8.5in;
    width: 11in;
    margin: 0 auto;
    background: rgba(255,255,255,0);
    position: relative;
}

.cert-container {
    box-sizing: border-box;
    height: 8.5in;
    width: 11in;
    margin: 0 auto;
    background: rgba(255,255,255,0);
    position: relative;
}

.buttons {
    position: fixed;
    top: 12px;
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
}

.buttons div {
    position: relative;
    display: inline-block;
    font-family: 'MontserratMediumPDF';
    background-color: #e8e8e8;
    border-radius: 3px;
    color: #414042;
    padding: 10px 10px 10px 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
    margin: 0 4px;
    transition: 0.2s background-color ease;
    user-select: none;
}

.buttons div span {
    position: absolute;
    left: 10px;
}

.buttons div i.fa-file-pdf-o {
    color: #ee3d23;
}

.buttons div:hover {
    background-color: #FFFFFF;
}

.buttons div:active {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.fa:not(.fa-spin) { 
    animation: none;
}

@media print {
    * {
        -webkit-print-color-adjust: exact;
        box-shadow: none !important;
    }

    html {
        background: none;
        padding: 0;
        margin: 0;
    }

    body {
        box-shadow: none;
        margin: 0;
    }

    span:empty {
        display: none;
    }

    .add, .cut {
        display: none;
    }

    #print-button {
        display: none;
    }

    #template {
        overflow: hidden;
    }
}

@page {
    margin: 0;
    size: landscape;
}

h1 {
    color: #1d3e82;
}

h2 {
    color: #2f67d6;
}

h3 {
    color: #1d3e82;
}

a, a:link, a:visited {
    color: #1d3e82;
}

#template {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    text-align: center;
    pointer-events: none;
}

#template .background-image {
    height: 100%;
    box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0.7in rgba(0, 0, 0, 0.6);
}

.cts-logo {
    position: absolute;
    bottom: 115px;
    left: 11px;
    width: 176px;
    height: 29px;
}

.cts-logo img {
    height: 100%;
    width: 100%;
}

.certificate, .of-achievement {
    position: absolute;
    top: 119px;
    right: 113px;
    display: block;
    font-family: 'BebasNeueBoldExpand';
    font-size: 92px;
    text-align: right;
    color: #404042;
}

.of-achievement {
    top: 211px;
    right: 115px;
    font-size: 39px;
}

.certify {
    position: absolute;
    top: 311px;
    right: 119px;
    display: block;
    font-family: 'MontserratMediumPDF';
    font-weight: 500;
    font-size: 17px;
    text-align: right;
    color: #404042;
    text-transform: uppercase;
    line-height: 25px;
}

.student-name {
    position: absolute;
    right: 118px;
    top: 383px;
    width: 620px;
    height: 67px;
    line-height: 67px;
    white-space: nowrap;
    display: block;
    font-family: 'MerriweatherBlack';
    font-size: 50px;
    text-align: right;
    color: #3b62ad;
}

.completed {
    position: absolute;
    top: 474px;
    right: 119px;
    display: block;
    font-family: 'MontserratMediumPDF';
    font-weight: 500;
    font-size: 15px;
    text-align: right;
    color: #404042;
    line-height: 26px;
}

.class-name {
    position: absolute;
    right: 119px;
    top: 544px;
    width: 600px;
    display: block;
    font-family: 'MerriweatherBlack';
    font-size: 20px;
    text-align: right;
    color: #3b62ad;
}

.class-date {
    position: absolute;
    display: block;
    font-family: 'MontserratMediumPDF';
    font-size: 16px;
    text-align: right;
    color: #3b62ad;
}

.date {
    position: absolute;
    bottom: 120px;
    right: 486px;
    width: 142px;
    display: block;
    font-family: 'MontserratMediumPDF';
    font-size: 15.5px;
    text-align: center;
    color: #404042;
}

.date-value {
    position: absolute;
    bottom: 153px;
    right: 486px;
    width: 142px;
    display: block;
    font-family: 'Bebas Neue';
    font-weight: 600;
    font-size: 21px;
    text-align: center;
    color: #404042;
}

.year {
    position: absolute;
    bottom: 103px;
    left: 625px;
    height: 113px;
    width: 113px;
    background: url('/images/cert/seal.png');
    background-size: contain;
    display: block;
    font-family: 'Bebas Neue';
    font-weight: 400;
    font-size: 38px;
    text-align: center;
    line-height: 113px;
    color: #FFFFFF;
}

.signature {
    position: absolute;
    bottom: 120px;
    right: 118px;
    width: 141px;
    display: block;
    font-family: 'MontserratMediumPDF';
    font-size: 15.5px;
    text-align: center;
    color: #404042;
}

.signature-value {
    position: absolute;
    bottom: 153px;
    right: 97px;
    width: 184px;
    padding: 0;
    margin: 0;
    display: block;
    font-family: 'Yellowtail';
    font-size: 24px;
    text-align: center;
    color: #404042;
    white-space: nowrap;
}