/*
Created  by Andres Vasquez
info@andresvasquez.net  —— www.andresvasquez.net ——
This work is licensed under a Creative Commons Attribution 4.0 International License.
*/


/* Selection colours (easy to forget) */

::-moz-selection {
    background: #BFF441;
}

::selection {
    background: #BFF441;
}

img::-moz-selection {
    background: transparent;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

body {
    -webkit-tap-highlight-color: #BFF441;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: table;
    margin: 0 auto;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    -webkit-text-size-adjust: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #4A4A4A;
}

header {
    max-width: 987px;
}

header a img {
    display: block;
}

.header-xsmall-icons-group {
    display: flex;
    justify-content: flex-end;
}

.header-xsmall-icon {
    margin: 17px 25px 17px 0;
}

.header-logos {
    display: flex;
    justify-content: space-between;
}

.header-logo {
    margin: 0 51px 34px;
}

#myScopeLogo {
    width: 112px;
}

#ammrfLogo {
    width: 126px;
}

h1 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #E5B361;
    font-size: 40px;
    letter-spacing: 0.86px;
    text-align: right;
    padding-right: 86px;
    margin-bottom: 16px;
}

h2 {
    font-size: 20px;
    color: #6D6D6D;
}

h3 {
    font-weight: 400;
    font-size: 18px;
    color: #6D6D6D;
}

h4 {
    font-weight: 400;
    font-size: 14px;
    color: #6D6D6D;
}

header h1 {
    display: none
}

.wrapper {
    display: flex;
    flex-flow: row wrap;
    max-width: 987px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 33%;
}

#blue-line-top {
    width: 100%;
    border-bottom: 2px solid #85B2E7;
    margin-bottom: 17px;
}

#blue-line-bottom {
    height: 84px;
    width: 303%;
    margin-bottom: 29px;
    border-bottom: 2px solid #85B2E7;
    box-shadow: 0 5px 5px -4px rgba(0, 0, 0, 0.30);
}

.building-block {
    min-height: 42px;
    background: #FFFFFF;
    border: 1px solid rgba(125, 123, 123, 0.50);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.30);
}

.build-blk-aside {
    margin: 8px 16px 8px 20px;
}

.block-lines {
    display: flex;
    flex-direction: column;
}

.building-block h2 {
    border-bottom: 4px solid #85B2E7;
    padding: 7px 20px;
    align-self: flex-start;
}

.build-blk-content {
    padding: 10px;
    border-top: 1px solid rgba(125, 123, 123, 0.50);
}

.build-blk-content h3 {
    padding-left: 10px;
    margin-bottom: 19px;
}

.small-icons-group {
    display: flex;
    flex-flow: row wrap;
    /*    margin: auto;*/
    /*    justify-content: space-around;*/
    /*    justify-content: space-between;*/
}

.small-icons-group li {
    width: 69px;
    height: 74px;
    border: 1px solid #979797;
    border-radius: 3px;
    margin: 0 10px 19px 9px;
    /*    cursor: pointer;*/
}

.small-icon {
    padding: 10px;
}

.anu {
    padding: 12px 5px;
}

aside form button {
    font-weight: 700;
    font-size: 20px;
    color: #6D6D6D;
    background: #FFFFFF;
    width: 100%;
    margin-top: 6px;
}

.banner {
    width: 100%;
    vertical-align: middle;
}

#copyright div {
    padding: 9px
}

#copyright div:last-of-type {
    display: flex;
    border-top: 1px solid #9B9B9B;
    align-items: center;
    font-size: 11px;
    color: #4A4A4A;
}

#copyright div:first-of-type p:first-of-type {
    font-size: 19px;
    color: #444444;
    letter-spacing: 0.1px;
}

#copyright div:first-of-type p:last-of-type {
    font-size: 11px;
    color: #9B9B9B;
}

#main-column {
    display: flex;
    flex-direction: column;
    width: 67%;
}

#main-block {
    background: #FFFFFF;
    border: 1px solid rgba(125, 123, 123, 0.50);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.30);
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    margin: 0px 20px 8px 0px;
}

#tab_features {
    display: flex;
    position: relative;
    text-align: center;
    list-style: none;
    padding: 0 19px;
    margin-top: 19px;
    font-size: 12px;
    color: #484A4A;
}

#tab_features a {
    color: #979797;
}

#tab_features li {
    flex-grow: 1;
    text-align: center;
    background: #E6E6E6;
    margin-right: 10px;
    padding-top: 6px;
    padding-bottom: 4px;
    box-shadow: inset 0 1px 4px 1px rgba(0, 0, 0, 0.20);
    border-radius: 5px 5px 0 0;
    color: #979797;
    position: relative;
    z-index: 0;
    cursor: pointer;
}

#tab_features li:last-child {
    margin-right: 0px;
}

#tab_features li:hover {
background: -webkit-linear-gradient(top, #bec8d3 0%,#d1d1d1 100%);
    color: #484A4A;
    box-shadow: inset 0 1px 4px 1px rgba(0, 0, 0, 0.20);
}

#tab_features li.selected a {
    color: #484A4A;
}

#tab_features li.selected {
    background: #FEFEFE;
    border: 1px solid #979797;
    box-shadow: 3px -3px 5px 0 rgba(0, 0, 0, 0.10);
    color: #484A4A;
    z-index: 2;
    border-bottom-color: #FFF;
}

#tab_features:after {
    position: absolute;
    content: "";
    width: 94.2%;
    bottom: 0;
    left: 19px;
    z-index: 1;
    border-bottom: 1px solid #979797;
}

#tab_features:before {
    z-index: 1;
}

#main-article {
    position: relative;
    margin-left: 19px;
}

#borders-main-header {
    padding-right: 39px;
    width: 97%;
    border-left: 1px solid #979797;
    border-bottom: 1px solid #85B2E7;
    position: absolute;
    top: 0%;
    bottom: 0;
    height: 90px;
    box-shadow: 0 5px 5px -4px rgba(0, 0, 0, 0.30);
}

#main-article h2 {
    padding: 19px 39px 19px 20px;
}

#breadcrumb {
    color: #D0011B;
    font-size: 13px;
    padding: 0 39px 28px 20px;
}

#main-content {
    padding: 0 39px 28px 20px;
}

.build-blk-main {
    margin: 8px 20px 8px 0px;
}

.big-icons-group {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around
}

.big-icon {
    width: 25vw;
    margin: 19px 9px;
}

.big-icon a img{
   margin-bottom: 7px; 
}

.big-icon p{
font-size: 14px;
font-weight: 700;
color: #004388;
letter-spacing: -0.2px;
}

.xsmall-icons-group {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around
}

.xsmall-icon {
    /*    vertical-align: middle;*/
    width: 34px;
    /*    margin: 0 10px 19px 9px;*/
    margin: 9px 6px;
}

.feedback {
    flex-grow: 2;
    width: 8vw;
    /* default 0 */
}

input[type=text] {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    background-color: white;
    background: url("../images/xsmall-icons/feddback.svg");
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
}

/*
#feedback-field {
    font-size: 12px;
    color: #9B9B9B;
    border: 0;
    width: 350px;
}
*/


/*@media only screen and (min-width: 770px) and (max-width: 987px) {*/


/*
@media only screen and (max-width: 769px) {
    .wrapper {
        width: 100%;
    }
    .sidebar {
        width: 30%;
    }
    #main-column {
        min-width: 70%;
    }
}
*/

@media only screen and (max-width: 769px) {
    /*@media only screen and (max-width: 479px) {*/
    body {
        font-size: 18px;
    }
    h1 {
        color: #B30061;
        font-size: 30px;
        letter-spacing: 0.6px;
    }
    .wrapper {
        flex-flow: column-reverse wrap;
    }
    .sidebar {
        min-width: 100%;
    }
    #main-column {
        min-width: 100%;
    }
    #blue-line-bottom {
        display: none;
    }
    .invisible-small {
        display: none;
    }
    #breadcrumb {
        /*    color: #D0011B;*/
        font-size: 10px;
        font-weight: 700;
        /*    padding: 0 39px 28px 20px;*/
    }
}

@media only screen and (min-width: 770px) {
    .big-icon {
        width: 17vw;
        margin: 19px 9px;
    }
}

@media only screen and (min-width: 1109px) {
    .big-icon {
        width: 13vw;
        margin: 19px 9px;
    }
}