/*** General components ***/

html, body{
    /*overflow-x: hidden;*/
}

body{
    /*height: auto;*/
    /*min-height: 100%;*/
    /*height: 100%;*/
    /*max-height: 100%;*/
    font-size: 16px;
    line-height: 24px;
    color: #676767;
    font-family: "Roboto", Helvetica, sans-serif;
    max-width: 100%;
    background-color: #e0e0e0;
    
    /*-ms-overflow-style: none;*/
}

/*body::-webkit-scrollbar { width: 0 !important }*/

h1, h2, h3, h4, h5, h6{
    color: #373737;
}



a{
    color: #577E91;
    transition: all 300ms ease-in-out;
}


a:focus{
	text-decoration: none;
	color: #547AA5;
	outline: none;
}

a:hover, a:focus:hover{
    text-decoration: none;
    color: #3A5472;
}

img{
    max-width: 100%;
}

label{
    font-weight: 500;
}




.card{
    background-color: #fff;
    /*box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/
    box-shadow: 0 1px 3px rgba(0,0,0,.23);
    padding: 20px;
}


.btn{
    border-radius: 2px;
    transition: all 300ms ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: none;
    font-weight: 700;
    padding: 8px 20px;
}

.btn-primary {
    background-color: #547AA5;
}

.btn-primary:focus{
    outline: none;
    background-color: #547AA5;
}

.btn-primary:hover, .btn-primary:focus:hover{
    background-color: #3A5472;
    color: #fff;
}

.btn-success{
    background-color: #3ecf8e;
}


.btn-success:focus{
    background-color: #20BF55;
    outline: none;
}


.btn-success:hover, .btn-success:focus:hover{
    background-color: #32A873;
}

.btn-danger, .btn-danger:focus{
    background-color: #e8585a;
    outline: none;
}

.btn-danger:hover, .btn-danger:focus:hover{
    background-color: #BF4A2A;    
}



button{
    transition: all 300ms ease-in-out;
}

.btn-default, .btn-default:focus{
    color: #999;
    background-color: #fff;
    outline: none;
}

.btn-default:hover, .btn-default:focus:hover{
    background-color: #f1f1f1;
    color: #555;
}


/** Modals **/
.modal-content{
    border-radius: 0;
}

.modal-header .close{
    font-size: 26px;
}

.modal-header{
    padding: 10px 15px;
    border-bottom: 1px solid #e7e7e7;
}

/** End Modals **/


@media(max-width: 767px){
    [class*="col-sm-"] {
      margin-bottom: 45px;
    }
}

@media(max-width: 991px){
    [class*="col-md-"] {
      margin-bottom: 45px;
    }
}

.text-upper, .text-uppercase{
    text-transform: uppercase;
}

.display-inline-block, .inline-block{
    display: inline-block;
}

.clear-both{
    clear: both;
}

.position-relative, .pos-relative, .pos-rel{
    position: relative;
}


.display-none{
    display: none;
}



/* pagination */
.pagination{
    font-size: 13px;
    margin-top:0;
    margin-bottom: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    display: inline-block;
    float: right;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    background-color:#547AA5;
    border-color:#547AA5;
}

.pagination a{
    cursor: pointer;
}

/* end pagination */


.margin-bottom-0{
    margin-bottom: 0px;
}

.margin-bottom-10{
    margin-bottom: 10px;
}

.margin-bottom-20{
    margin-bottom: 20px;
}

.margin-bottom-30{
    margin-bottom: 30px;
}


.margin-bottom-45{
    margin-bottom: 45px;
}

.margin-bottom-60{
    margin-bottom: 60px;
}


.margin-top-0{
    margin-top: 0px;
}

.margin-top-10{
    margin-top: 10px;
}

.margin-top-20{
    margin-top: 20px;
}

.margin-top-30{
    margin-top: 30px;
}


.margin-top-45{
    margin-top: 45px;
}

.margin-top-60{
    margin-top: 60px;
}

/*** End  General components ***/

/* Cookie Notice */

.cookie-notice{
    position: fixed;
    bottom: -200px;
    opacity: 0;
    left: 0;
    width: 100%;        
    background-color: #f1f1f1;
    color: #4f4f4f;
    z-index: 100;
    padding: 10px 0;
    box-shadow: -2px 0 2px 2px rgba(0, 0, 0, 0.2);
    transition: all 1200ms ease-in-out;
    font-size: 14px;
}

.cookie-notice__heading{
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0;
}
.cookie-notice__close{
    position: absolute;
    right: 9px;
    top: 7px;
    font-size: 40px;
    color: #555;
}

.cookie-notice.active{
    bottom: 0;
    opacity: 1;
}

/* End Cookie Notice */


.page-wrap{
    padding-top: 30px;
    /*min-height: 99vh;*/
}


.bg-orange{
    background-color: #ff6905;
}

.bg-purple{
    background-color: #841c80;
}

.bg-petrol{
    background-color: #00718a;
}

.bg-blue{
    background-color: #00AAE7;
}

.bg-gray-blue{
    background-color: #5b7e96
}

/*** Facts Page ***/


.facts-share-instructions{
    background-color: #FF6500;
    opacity: 0.7;
    color: #fff;
    position: fixed;
    left: 0px;
    top: 520px;
    border-radius: 0 20px 20px 0;
    width: 182px;
    padding: 27px 20px;
    text-align: center;
    z-index: 900;
    font-size: 22px;
}

@media(max-width: 767px){
    .facts-share-instructions{
        display: none;
    }    
}

.facts-loading{
    position: absolute;
    z-index: 1000;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-color: #e0e0e0;
    text-align: center;
    padding-top: 100px;
    color: #577E91;
    font-size: 52px;
}

/*Facts Menu */
.facts-menu{
    margin-bottom: 50px;
    background-color: #5f7f96;
    color: #fff;
    
}

.facts-menu__items{
}

.facts-menu__item{
    color: #fff!important;
    display: block;
    width: 25%;
    height: 285px;
    float: left;
    padding: 20px;
    cursor: pointer;
    border-top: 3px solid transparent;
    transition: border-color 300ms ease-in-out;
}

.facts-menu__item:hover{
    border-color: #fff;
}

.facts-menu__item:hover .facts-menu__item.active{
    border-color: transparent;
}


.facts-menu__heading{
    padding: 26px 20px;
    font-weight: 300;
    font-size: 20px;
}

.facts-menu__item-heading{
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 19px;
}

.facts-menu__item-text{
    font-weight: 300;
    line-height: 21px;
}

.facts-menu__footer{
    background-color: #e0e0e0;
    padding: 8px 0 0 ;
    text-align: right;
}

.facts-menu__footer a{
    display: inline-block;
    line-height: 20px;
}

.facts-menu__footer a:not(:last-child){
    border-right: 1px solid #577E91;
    padding-right: 6px;
    margin-right: 6px;
}


@media(max-width: 1199px){
    .facts-menu__item{
        height: 235px;
    }
}

@media(max-width: 991px){
    .facts-menu__item{
        padding: 12px;
        height: 195px;
    }
    
    .facts-menu__item-heading{
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 13px
    }
    
    .facts-menu__item-text{
        font-size: 14px;
        line-height: 17px;
    }
}

@media(max-width: 645px){
    .facts-menu__item{
        height: 130px;
    }
    .facts-menu__item-text{
        display: none;
    }
}

@media(max-width: 645px){
    .facts-menu__item{
        height: 100px;
    }
}

@media(max-width: 500px){
    .facts-menu__item{
        width: 100%;
        float: none;
        height: auto;
        padding: 14px 20px;
    }
    
    .facts-menu__item-heading{
        margin: 0;
        max-width: none!important;
    }
}

/* End Facts Menu */

/* Facts bullets side menu **/
.facts-bullets{
    position: fixed;
    top: 600px;
    right: 5px;
    z-index: 200;
    /*display: none;*/
}

.facts-bullets a{
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    text-align: center;
    color: #fff!important;
    margin-bottom: 8px;
    position: relative;
    font-size: 15px;
}

.facts-bullets__tooltip{
    position: absolute;
    right: 28px;
    top: -2px;
    display: none;
    transition: all 350ms ease-in-out;
    padding: 6px 10px;
    padding-top: 6px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-left: 10px;
    box-shadow: 0 4px 9px 0 rgba(43,43,49,.1), 0 7px 14px 0 rgba(43,43,49,.13);
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
    white-space: nowrap;
    background-color: #bbb;
}

@media(max-width: 767px){
    .facts-bullets__tooltip{
        display: none!important;
    }
}

.facts-bullets a:hover .facts-bullets__tooltip{
    display: block;
}

.facts-bullets__top-link{
    padding-top: 3px;
    background-color: #ccc;
}


/* Facts bullets side menu **/

.facts-section-heading{
    text-transform: uppercase;    
    font-size: 20px;
    padding: 13px 20px;
    color: #fff;
    font-weight: 300;
}

.fact-box{
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.fact-box__actions-wrap{
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: 500ms ease-in-out;
    opacity: 0;
    text-align: center;
    color: #ddd;
    padding: 10px 7px;
    font-size: 21px;
    z-index: -1;
}

.fact-box.active .fact-box__actions-wrap{
    opacity: 1;
    cursor: default;
    z-index: 10
}

.fact-box__actions-close{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 26px;
}

.fact-box__img{
    /*z-index: 20;*/
    width: 100%;
    /*position: relative;*/
}

.fact-box__img-placeholder{
    position: relative;
    z-index: 10;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.fact-box__img-loading{
    position: absolute;
    text-align: center;
    top: 40%;
    left: 0;
    width: 100%;
    font-size: 41px;
    color: #aaa;
    z-index: 0;
}

.fact-box__actions-text{
    margin-bottom: 30px;    
    font-size: 21px;
}

.fact-box__actions-buttons{
    margin-bottom: 20px;
}

.fact-box__actions-select{
    border-radius: 6px;
    padding: 0px 23px;
    height: 71px;
    line-height: 71px;
    border: none;
    margin-left: 15px;
    color: #fff;
    font-size: 18px;
    border: 2px solid transparent;
}


.fact-box__actions-select:focus{
    outline: none;
}

.fact-box__actions-select--fact{
    background-color: #00a0e1;
    
}

.fact-box__actions-select--fact:hover, .fact-box__actions-select--fact.active{
    border: 2px solid #a8e6ff;
    background-color: #0080b3;
}

.fact-box__actions-select--story{
    background-color: #fa853c;
}

.fact-box__actions-select--story:hover, .fact-box__actions-select--story.active{
    background-color: #e05906;
    border-color: #feddc8;
}


.fact-box__actions-social, .fact-box__actions-social:focus{
    font-size: 47px;
    color: #fff;
    display: inline-block;
}

.fact-box__actions-social:hover{
    color: #ababab;
}

.fact-box__actions-social:not(:first-child){
    margin-left: 15px;
}

.fact-box__actions-social-more{
    display: inline-block;    
    margin-left: 9px;
}

.fact-box__actions-social-more button{
    background-color: transparent;
    border: none;
}

.fact-box__actions-social-more .dropdown-menu>li>a{
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 16px;
}


.fact-box__actions-social-more .dropdown-menu{
    right: 0!important;
    left: auto!important;
}


.fact-box__actions-download{
    background-color: #fff;
    display: inline-block;
    padding: 10px;
    font-size: 24px;
    color: #000;
    border-radius: 6px;
}

.fact-box__actions-download:focus{
    color: #000;
}

.fact-box__actions-download:hover{
    background-color: #ababab;
    color: #000;
}

@media(max-width: 440px){
    .fact-box__actions-select{
        padding: 0 30px;
        height: 60px;
        line-height: 60px;
    }
}

@media(max-width: 400px){
    .fact-box__actions-select{
        padding: 0 20px;
        height: 45px;
        line-height: 45px;
    }
}

@media(max-width: 365px){
    .fact-box__actions-wrap{
        font-size: 15px;
        padding-top: 11px 15px 15px 15px;
    }
    
    .fact-box__actions-select{
        width: 150px;
        display: block;
        margin: 0 auto 15px auto;
        height: 32px;
        line-height: 30px;
        font-size: 14px;
    }
    
    
    .fact-box__actions-text{
        margin-bottom: 14px;
        font-size: 19px;
    }
    
    .fact-box__actions-buttons{
        margin-bottom: 14px;
    }
    
    .fact-box__actions-social{
        font-size: 29px;
    }
    
    .fact-box__actions-download{
        font-size: 11px;
        padding: 7px;
    }
    
    .fact-box__actions-wrap .margin-bottom-20{
        margin-bottom: 10px!important;
    }
    .fact-box__actions-wrap .margin-top-20{
        margin-top: 10px!important;
    }
}

/** End Facts Page **/

/** Single Fact Page **/
.single-fact .container{
    max-width: 600px;
}

.single-fact__view-all{
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.single-fact__img{
    max-width: 100%; 
    margin: 0 auto 20px auto;
    display: block;
}

.single-fact__share-heading{
    font-size: 21px;
    font-weight: bold;
}

.single-fact__share-links a{
    font-size: 34px;
    margin-left: 7px;
}
/** End Single Fact Page **/

/** copy link toast **/
.copy-link-toast{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    background-color: #4CB944;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    display: none;
}
/** end copy link toast **/
