*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body{
    background-color: #128CFC;
}

#mainwrap{
    margin: 0 auto;
    background-color: white;
    width: 400px;
	height: 240px;
    border: 1px solid black;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    box-shadow: 0 3px 6px rgba(black,0.26), 0 3px 6px rgba(black,0.23);
    border-top: 15px solid #0B5AA2;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

p#title{
    padding: 5px 20px;
    margin: 10px auto;
    color: #0B5AA2;
    font-weight: bold;
    font-size: 20px;
    display: block;
    position: absolute;
    top: 0;
    border-bottom: 2px solid #0B5AA2;
    display: block;
}

a#footer{
    padding: 3px;
    color: white;
    font-size: 10px;
    display: block;
    position: absolute;
    bottom: 0;
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #0b5aa2;
    width: 100%;
    line-height: 1em;
    border-top: 1px solid black;
}

a.element{
    padding: 5px 20px;
    margin: 5px auto;
    color: black;
    font-weight: bold;
    font-size: 13px;
    display: block;
    border: 2px solid white;
    border-left: 1px solid #0B5AA2;
    border-radius: 0px;
    display: block;
    width: 300px;
    text-decoration: none;
    transition: all .1s ease;
}

a.element:hover{
    border: 2px solid #0B5AA2;
    border-radius: 10px;
}

a.elementpop{
    padding: 5px 15px;
    margin: 0px auto;
    color: black;
    font-weight: bold;
    font-size: 13px;
    display: block;
    border: 2px solid #0d4aa400;
    /border-left: 1px solid #0B5AA2;
    border-radius: 0px;
    display: block;
    width: 300px;
    text-decoration: none;
    transition: all .1s ease;
}

a.elementpop:hover{
    border: 2px solid #0B5AA2;
    border-radius: 10px;
}








/* Popup box BEGIN */
.hover_bkgr_fricc{
    background:rgba(0,0,0,.8);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
}
.hover_bkgr_fricc .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.hover_bkgr_fricc > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 551px;
    min-height: 100px;
    vertical-align: middle;
    width: 60%;
    position: relative;
    border-radius: 10px;
    padding: 15px 5%;
}
.popupCloseButton {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton:hover {
    background-color: #ccc;
}
.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
}
/* Popup box BEGIN */
