html { box-sizing: border-box; }
body {position: relative;}
*, *:before, *:after {
    box-sizing: inherit;
}

* { font-family: 'Open Sans', sans-serif; color: #2A2C54 }

a { color: #C0A748; text-decoration: none;
    -webkit-transition: color .15s;
    -moz-transition: color .15s;
    -ms-transition: color .15s;
    transition:  color .15s;
}

a:hover { text-decoration: underline; }

a:not([href]) { text-decoration: none; cursor: inherit; color: #2A2C54; }

textarea:focus, input:focus{
    outline: none;
}

.hidden { display: none; }
.warning { background-color: #DCBF52;}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 0.5em; }

#welcome-box { margin-top: 1.6em;}
#welcome-logo-div { float: left; width: 22em; padding-right: 4em; vertical-align: middle; padding-top: 7em;}
#welcome-text-div { vertical-align: middle; overflow: hidden; }

#welcome-logo-div img { width: 100%; }


#start-test-button { background-color: #DCBF52; font-size: 1.75em; line-height:  1.714em;  padding: 0 2em;
    color: #2A2C54;
    margin-top: 1.5em; margin-bottom: 0.75em;
    -webkit-transition: background .5s ease, color .3s;
    -moz-transition: background .5s ease, color .3s;
    -ms-transition: background .5s ease, color .3s;
    transition: background .5s ease, color .3s;
}
#start-test-button:hover {
    background-color: #2A2C54;
    color: #DCBF52;
}

footer { background-color: #F5D3BA; line-height: 3.2em; clear: both;}

#header-wrap { position: relative; }
header { background-color: #2A2C54; }
#doileak-banner { position: absolute; left:1em; top:0; line-height: 5.625em; z-index: 999}
#doileak-banner a { font-size: 2.5em; text-decoration: none; color: white; }

#logo-img {height: 4.5em; margin-top: -0.2em; float: left;}

body.page-contact #leftcol, body.page-home #leftcol { display: none;}


/* ---------------- nav */
#main-nav { position: absolute; left: 0;}
#main-nav ul { line-height: inherit; list-style: none; margin:0; padding: 0; }
#main-nav ul li { display: inline-block; }
#main-nav ul li a:hover { text-decoration: none;  }

#main-nav a, #lang-nav a { color: white;}

#main-nav a:hover, #lang-nav a:hover,
#main-nav li.active a, #lang-nav li.active a, #main-nav li.active , #lang-nav li.active
{ color: #FFD900;}
    /*END NAV */



#leftcol { float: left; margin-right: 2em; width: 10em; }
#leftcol-logo-img { width: 100%; }
#content-wrap { overflow:hidden;}
#wrapo { padding-top: 2em; padding-bottom: 2em; position: relative; }


#lang-nav ul{
    margin: 0;
    padding: 0;
}
#lang-nav  li.nav  {
    margin: 0;
    margin-right: 1em;
    padding: 0;
    list-style: none;
    display: inline-block;
}

#lang-nav { font-size: 1.25em;}
#lang-nav a { text-decoration: none; }
#lang-nav  a:hover, #lang-nav li.active { color: #2A2C54; }


/*Buttons*/
.button {
    background: #3498db;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-transition: background .5s ease, color .3s;
    -moz-transition: background .5s ease, color .3s;
    -ms-transition: background .5s ease, color .3s;
    transition: background .5s ease, color .3s;
}
.button:hover {
    background: #2980b9;
    color: #1b5377;
}

.main-button { padding: 0.5rem 2rem; font-size: 1em; }

#not-perfect-hint {   }


/*Result items */
.warning { color: orange;}

.m-level {  position: absolute;  width: 100%; height: 1.5px; top: 0; left:0;}

.level-0 { background-color: #8FBC13;}
.level-1 { background-color: #FFD900;}
.level-2 { background-color: #C10033;}
.level-unknown { background-color: #bbbbbb;}

.result-item { position: relative; margin-bottom: 1.5em; padding-left: 0.5em; padding-top: 0.25em; padding-right: 1.5em;}

.result-item h4 { margin-bottom: 0; margin-top:0; display: inline; }

.ritem-text { display: inline; }
.ritem-report { margin-bottom: 1em;}


.expand { display: none; }
.result-item>.expand { padding-top: 1.5em;}
/*.result-item .expand-opener { position: absolute; top: 0.5em; right: 0em; cursor: pointer;*/
    /*border: 1px solid #2A2C54; color: #2A2C54; border-radius: 0.7em;  width: 1.4em; height: 1.4em; text-align: center}*/
/*END Result item*/

#contact-wrapper .messagebox { margin-top: 1em; margin-bottom: 1em;}

.error { color: red;}


:target *, :target {
    animation: highlight 3s ease;
}
@keyframes highlight {
    0% { background-color: #DCBF52; }
    100% { background-color: white; }
}


#sw-logo-img { height: 4.25em;}
#sw-logo { float: right; margin-top: 0.68em; margin-right: 1em;}

#twi-wrap { float: right; width: 2em; margin-top: 0.4em;}
#twi-wrap a img { width: 100%;}

#lang-nav ul { line-height: inherit; }
#lang-nav ul li , #lang-nav ul li a { text-transform: capitalize; }

.expand-wrap { position: relative;}
.expand-opener { cursor: pointer;}

.faq-item { padding-bottom: 0.25em; padding-top: 0.25em;}
.faq-item .expand { padding-bottom: 0.5em; padding-top:0; padding-left: 1.25em;}
.faq-item h3.expand-opener { margin-left: 20px; }
.open-icon {
    margin-left: 0.15em;
    margin-top: 0.3em;
    transform-origin:25% 50%;
    border: 0.4em solid transparent;
    border-width: 0.4em 0.6em;
    border-left-color: #C0A748;
    width: 0;
    height: 0;
    display: inline-block;
    text-align: center;
    content: '';
    -webkit-transition:all .3s ease;
    -moz-transition:all .3s ease;
    -o-transition:all .3s ease;
    transition:all .3s ease;
    position: absolute;
}
.open .open-icon {
    transform: rotate(90deg);
}

.result-item .expand-opener { position: absolute; top: 0.5em; right: 0; }
.result-item .expand-opener.in-results { position: relative; color: #DCBF52; top: 0;}
.expand-wrap.open .in-results { display: none; }

#result-page-reloaded-note, #page-not-found-message { margin-top: 5em; margin-bottom: 5em; border: 1px solid #C10033; padding: 1em; }

#credits-table td:first-child { white-space: nowrap; padding-right: 1em;}
#credits-table td { vertical-align: top;}

#result-page-back { margin-top: 2em;}
#result-page-back-top { margin-bottom: 1em;}

#footer-wrap {min-height: 3em;}

#sslTestImage {margin-left: -3em;}

#dialog-torrent-magnet-link { font-weight: bold; text-decoration: underline; margin-top: 0.5em; margin-bottom: 0.5em;}

#activate-torrent-checkbox-label { margin-bottom: 2em;}
/*Custom Checkbox Radios*/
.checkbox-custom, .radio-custom {
    opacity: 0;
    position: absolute;
}

.checkbox-custom, .checkbox-custom-label, .radio-custom, .radio-custom-label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.checkbox-custom-label, .radio-custom-label {
    position: relative;
}

.checkbox-custom + .checkbox-custom-label:before, .radio-custom + .radio-custom-label:before {
    content: '';
    background: #fff;
    border: 2px solid #C0A748;
    display: inline-block;
    vertical-align: sub;
    width: 1.25em;
    height: 1.25em;
    line-height: 1.25em;
    margin-right: 10px;
    text-align: center;
    border-radius: 0.3em;
}

.checkbox-custom:checked + .checkbox-custom-label:before {
    background: url("../icons/checkmark.svg") no-repeat center;
background-size: contain;


}

.radio-custom + .radio-custom-label:before {
    border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
    content: "X";
}

/*End Custom Checkbox Radio*/


/*START PROGRESS BAR*/
#progressBar div {
    height: 100%;
    color: #fff;
    text-align: right;
    line-height: 25px;
    width: 0;
    background-color: #0099ff;
    border-radius: 5px;
}

#progressBarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
}

#progressBarWrap {
    position: fixed;
    top: 30%;
    left: 50%;
    height: 50px;
    width: 270px;
    margin-left: -135px;
    margin-top: -25px;
    z-index: 11;
    text-align: center;
}

.progressBarText {
    color: #fff;
    font-size: 2.25em;
}

svg {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.circle_animation {
    stroke-dasharray: 440; /* this value is the pixel circumference of the circle */
    stroke-dashoffset: 440;
    transition: all 1s linear;
}
#progbar-circle { position: relative; }
#progbar-text {
    position: absolute;
    top: 36%;
    width: 100%;
    color: #fff;
    font-size:1.6em;;
}
/*END PROGRESSBAR*/

/*Generic dialog */
#dialog-mask {
    position:absolute;
    z-index:9000;
    background-color:#000;
    opacity: 0.75;
    display:none;
    top:0; left: 0;
}

.dialog-wrap {
    position:fixed;
    width:320px;
    display:none;
    z-index:9999;
    padding:1em;
    background-color: white;
}
.dialog-header { font-size: 1.75em; margin-bottom: 0.25em}
.dialog-close { cursor: pointer; color: #C0A748; }
.dialog-close:hover { text-decoration: underline; }
.dialog-close-text {  margin-top: 1em; }
.dialog-close-icon { position: absolute; width: 1em; height: 1em; background: url("../icons/cancel.svg") no-repeat; background-size: contain; right: 0.25em; top: 0.25em;}

/*END GENERIC DIALOG*/

/* BLOG */
#blog-back-list { margin-top: 2em;}
.blog-list-desc {}
.blog-list-more-link {margin-top: 0.5em;}
.blog-list-item { margin-bottom: 2em;}
.blog-list-title { font-size: 1.5em; margin-bottom: 0.5em; line-height: 1.25em; }
.blog-list-title a { color: #2A2C54 !important; }


#blog-article h1, #blog-article h2, #blog-article h3, #blog-article h4 {
    font-family: 'Open Sans', sans-serif; color: #2A2C54;
}

#blog-article h2, #blog-article h3, #blog-article h4, #blog-article h5, #blog-article p {
    margin-bottom: 1em;
    padding: 0;
}

#blog-article h1 {
    margin-bottom: 1em;
    font-size:300%;
    padding: 0px;
    font-variant:small-caps;
}

#blog-article h2 {
    font-size:150%
}

#blog-article h3 {
    font-size:120%
}
#blog-article h4 {
    font-size:100%
font-variant:small-caps;

}
#blog-article ul, #blog-article ol {
    padding: 0;
    margin: 0 0 0 1em;
}
#blog-article ul {
    list-style-type: square;
    list-style-position: inside;

}

#blog-article li {
    line-height:150%
}
#blog-article li ul, #blog-article li ul {
    margin-left: 1em;
}

#blog-article pre {
    padding: 0 1em;
    white-space: pre-wrap;
}
#blog-article code {
    font-family: Consolas, Monaco, Andale Mono, monospace;
    line-height: 1.5;
    font-size: 0.75em;
}
#blog-article aside {
    display: block;
    float: right;
    width: 290px;
}
#blog-article blockquote {
    border-left:.5em solid #eee;
    padding: 0 1em;
    margin-left:0;
    /*max-width: 476px;*/
}
#blog-article blockquote  cite {
    color:#bfbfbf;
}
#blog-article blockquote cite:before {
    content: '\2014 \00A0';
}

#blog-article blockquote p {
    color: #666;
    /*max-width: 460px;*/
}
#blog-article hr {
    text-align: left;
    margin: 0 auto 0 0;
    color: #999;
}

#blog-article img { float: right; padding-left: 1em; padding-bottom: 1em; }
.blog-list-img { float: right; padding-left: 1em; padding-bottom: 1em; padding-top: 6px; }
/* BLOG END */