﻿/*MYNEWS*/
.myNews { padding: 0; }
.myNews .newBox { padding: 0; /*border-right: 1px dotted #ffffff; border-bottom: 1px dotted #ffffff;*/ cursor: pointer; }
.newBox .masonry-item { position: relative; height: 20em; overflow: hidden; border: 1px solid white;}
.newBox .blog-image .img-responsive { width: auto; height:100%; max-width: inherit; position:absolute;}
.newBox .new-txt { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.63) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.63) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.63) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a1000000',GradientType=0 ); /* IE6-9 */ }
/*hover*/
.newBox:hover .new-txt { background: rgba(0,119,68,0.8); -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -ms-transition: all 0.5s linear; -o-transition: all 0.5s linear; transition: all 0.5s linear; }
.newBox:hover .new-txt:before { content: ''; background: url('/img/i/moreNews-cccccc.png')no-repeat; width: 100%; height: 100%; position: absolute; top: 10%; left: 50%; margin-left: -32px; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -ms-transition: all 0.5s linear; -o-transition: all 0.5s linear; transition: all 0.5s linear; }

.newBox:focus .new-txt {
    background: rgba(0,119,68,0.8);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

    .newBox:focus .new-txt:before {
        content: '';
        background: url('/img/i/moreNews-cccccc.png')no-repeat;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 10%;
        left: 50%;
        margin-left: -32px;
        -webkit-transition: all 0.5s linear;
        -moz-transition: all 0.5s linear;
        -ms-transition: all 0.5s linear;
        -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
    }


.newBox .new-txt .featurette-heading { position: absolute; bottom: 0; left: 0; margin: 0; padding: 0.3em; }
.newBox .new-txt .featurette-heading span { color: #ffffff; }
.featurette-heading-news{font-size:35px; line-height:1.2; margin-bottom:2rem; color:white;}
.newBox .new-txt .date, .newBox .new-txt .readPlus {display: inline-block; float: left; padding: 0.5em; background: rgba(0,119,68,0.6);}
.newBox .new-txt .readPlus {display:none;}
.newBox .new-txt .date em, .newBox .new-txt .readPlus span { color: #ffffff; }
/*newsletter*/
.newsletter .new-txt .featurette-heading { width: 100%; height: 100%; }
.newsletter .newsletter-title { width: 100%; height: 0; padding-top: 100%; overflow: hidden; }
.newsletter .newsletter-title span {position:absolute;bottom:0;right:0;z-index:9;padding:0.5em;}
.newsletter .newsletter-title strong {display:block;text-align:right;}
.newsletter .featurette-heading .newsletter-title:after { content: ""; display: block;position:absolute;top:0;right:0;
width: 0; height: 0; border-top: 500px solid transparent; border-right: 500px solid #007744;opacity:0.6; }
.newsletter .newsletter-title span { display: block; }


/*modal window NEWS*/
.modal.fade.in { padding-left: 0 !important;}
.newContent { height: 100%; }
.newContent .newContainer { border-radius: 0; background: #222; min-height: 100%; }
.newContent .newContainer .row { padding-bottom: 1em;}
.newContent .newContainer .figure-caption {color:#999999;}
.newContent [class^='modal-'] { display: inline-block; float: left; width: 100%; height: 100%; }
.newContent .modal-header { position: relative; border-bottom: none; }
.newContent .modal-header .title { font-size: 200%; color: #ededed; }
.newContent .modal-header .title, .newContent .lead { color: #ededed; }
.newContent .mediaBox { position: relative; display: inline-block; width: 100%; }
.newContent .mediaBox .ima { position: relative; float: left; width: 100%; padding-top: 36.25%; overflow: hidden; }
.newContent .mediaBox .ima img { position: absolute; top: 0; left: 50%; margin-left: -25%; height: 100%; width: auto; display: inline-block; }
.image-news-max-400 {max-height:400px;}
.newContent .break .lead {color: #222;}
.newContent .btn a { color: #ffffff; }
.newContent .modal-body { border: 1px solid #ededed; padding: 3em; }
.newContent .modal-footer { border-top: none; }
.newContent .close { position: absolute; top: 50%; right: 0; margin-top: -0.5em; width: 1em; height: 1em; font-size: 200%; background: #ededed; border-radius: 100%; }
.myNews .content-out .container .row {padding-left: 15px; padding-right: 15px;}



@media (max-width:768px){
    img.float-left.mr-3 {
        margin-right:0rem !important;
        padding-right:0rem !important;
        margin-top:0rem !important;
    }

    .newContent .newContainer .row {
        padding-bottom: 0rem;
    }

    img {
        margin-bottom:2rem;
    }

    .newBox .blog-image .img-responsive {display:none !important;}
    .new-img {height:100%;}
    .newBox .blog-image {
        background-size:cover;
        background-repeat:no-repeat;
        height:100% !important;
        background-position:center center;
    }
    .newBox .blog-image.new1 {background-image:url('../img/news/1-new.jpg');}
    .newBox .blog-image.new2 {background-image:url('../img/news/2-new.jpg');}
    .newBox .blog-image.new3 {background-image:url('../img/news/3-new.jpg');}
    .newBox .blog-image.new4 {background-image:url('../img/news/4-new.jpg'); background-position:right center;}
    .newBox .blog-image.new5 {background-image:url('../img/news/5-new.jpg'); background-position:center center;}
    .newBox .blog-image.new6 {background-image:url('../img/news/6-new.jpg'); background-position:center center;}
    .newBox .blog-image.new7 {background-image:url('../img/news/7-new.jpg'); background-position:center center;}
    .newBox .blog-image.new8 {background-image:url('../img/news/8-new.jpg'); background-position:center center;}
}
