/**** portfolio ****/
#container {
	width:90%;
    margin:0 5%;
}

.centered {
    margin: 0 auto;
}

#clients .box {
	width:31%;
	margin:1%;
}
@media screen and (max-width:479px) {
#clients .box {
	width:47.5%;
	margin:1%;
}
}

#clients .box *{
	box-sizing:border-box;
}
.rtl .box {
    float: right;
    text-align: right;
    direction: rtl;
}

.box img,
#tumblelog img {
    display: block;
    width: 100%;
    border: none;
    opacity: 0.5;
}

.box img:hover,
#tumblelog img:hover {
    opacity: 1.0;
}

.col1 {
    width: 205px;
    margin-bottom: 5px;
}

.col1 img {
    max-width: 205px;
}

.col2 {
}

.col2 img {
}



/**** Transitions ****/

.transitions-enabled.masonry,
.transitions-enabled.masonry .masonry-brick {
    -webkit-transition-duration: 0.7s;
    -moz-transition-duration: 0.7s;
    -ms-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    transition-duration: 0.7s;
}

.transitions-enabled.masonry {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.transitions-enabled.masonry  .masonry-brick {
    -webkit-transition-property: left, right, top;
    -moz-transition-property: left, right, top;
    -ms-transition-property: left, right, top;
    -o-transition-property: left, right, top;
    transition-property: left, right, top;
}


/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry {
    -webkit-transition-property: none;
    -moz-transition-property: none;
    -ms-transition-property: none;
    -o-transition-property: none;
    transition-property: none;
}


/* Infinite Scroll loader */
#infscr-loading {
    z-index: 100;
    position: fixed;
    left: 50%;
	margin-left: -100px;
    bottom: 40px;
    width: 200px;
    padding: 10px;
    background: #005a80;
    opacity: 0.7;
    color: #3ebded;
    font-size: 18px;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    text-align: center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}


/**** Clearfix ****/
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}


/* drop down */

.wrapper-demo {
    position: relative;
    z-index: 9999;
    font-size: 25px;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    color: #3EBDED;
}

.wrapper-dropdown-5 {
    /* Size & position */
    position: relative;
    width:84%;
    padding:2% 3%;
	left:5%;
    /* Styles */
    background: #005a80;
    opacity: 1;
    border-radius: 15px;
    box-shadow: 0 5px 0 rgba(0,0,0,0.2);
    cursor: pointer;
    outline: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.wrapper-dropdown-5:after {
 /* Little arrow */
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 45%;
    right:5%;
    border-width: 12px 12px 0 12px;
    border-style: solid;
    border-color: #4cbeff transparent;
}

.wrapper-dropdown-5 .dropdown {
    /* Size & position */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* Styles */
    background: #fff;
    border-radius: 0 0 15px 15px;
    border: 1px solid rgba(0,0,0,0.2);
    border-top: none;
    border-bottom: none;
    list-style: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    /* Hiding */
    max-height: 0;
    overflow: hidden;
}

.wrapper-dropdown-5 .dropdown li {
    padding: 0 15px;
}

.wrapper-dropdown-5 .dropdown li a {
    display: block;
    text-decoration: none;
    color: #3EBDED;
    padding: 10px 0;
    transition: all 0.3s ease-out;
    border-bottom: 1px solid #e6e8ea;
}

.wrapper-dropdown-5 .dropdown li:last-of-type a {
    border: none;
}

.wrapper-dropdown-5  img {
    margin-right: 20px;
    color: inherit;
    vertical-align: sub;
}

/* Hover state */

.wrapper-dropdown-5 .dropdown li:hover a {
    color: #57a9d9;
}

/* Active state */

.wrapper-dropdown-5.active {
    border-radius: 15px 15px 0 0;
    background: #005A80;
    box-shadow: none;
    border-bottom: none;
    color: white;
}

.wrapper-dropdown-5.active:after {
    border-color: #82d1ff transparent;
}

.wrapper-dropdown-5.active .dropdown {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    max-height: 400px;
}

/******************************
 SLIDE 5 
*******************************/
.thumb {
    display: block;
    width: 100%;
    position: relative;
    float: left;
}

.thumb-wrapper {
    display: block;
    width:100%;
}

.thumb img {
    display: block;
}

.thumb .thumb-detail {
    display: block;
    padding: 10px;
    position: absolute;
    background: #fff;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
   /* behavior:url(css/border-radius.htc);
    border-radius: 6px;*/
    color: #ff143f;    
    width: 100%;
	height:100%;
	top:0;
}

.thumb .thumb-detail a {
    display: block;
    font-weight: bold;
    color: #ff143f;
    text-decoration: none;
    font-size: 13px;
    background: #ffffff;
	width:100%;
	height:100%;
}

.thumb .thumb-detail a:hover {
    background-position: 1px 0px;
    background-image: url(../images/clients/URL_bg.png);
    background-repeat: no-repeat;
    background-color: #eb2c27;
	background-size:cover;
    color: #FFFFFF;
}		

/*
* Without CSS3
*/
.thumb.scroll {
    overflow: hidden;
}

.thumb.scroll .thumb-detail {
    bottom: -280px;
}


/*
* CSS3 Flip
*/	
.thumb.flip {
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -ms-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
}

.thumb.flip .thumb-wrapper {
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -ms-transition: -moz-transform 1s;
    -o-transition: -moz-transform 1s;
    transition: -moz-transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.thumb.flip .thumb-detail {
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.thumb.flip img,
.thumb.flip .thumb-detail {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.thumb.flip .flipIt {
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.portfolio_gallery li .new{
	position:absolute;
	z-index:100;
	margin-left:100px;
	width:40px;
	height:50px;
	background-image:url(../images/portfolio/label_new.png);
	background-repeat:no-repeat;
}

.portfolio-top {
	width:100%;
	margin-top:30px;
	z-index:99999999999999999999;
	background:#fff;
}

.portfolio-clogo {
	width:100%;
}

.portfolio-clogo img {
	padding-left:3.6%;
}


.portfolio-datail {
	width:100%;
	margin:-20px 0 30px;
	position:relative;
	z-index:2;
	text-align:right;
}

.portfolio-ctitle {
	font-weight:bold;
	font-size:22px;
	color:#666666;
 	font-family: 'PT Sans' , sans-serif;
	border-bottom:1px solid #888888;
	padding-right:3.6%;
}

.portfolio-btn {
	float:right;
	min-width:100px;
	font-size:12px;
	font-weight:bold;
	color:#E72C27;
	height:15px;
	text-align:right;
	margin:5px 0;
	opacity:1;
	cursor: pointer;
 	font-family: 'PT Sans', sans-serif;
	text-decoration:none;
}

.portfolio-btn img {
	vertical-align:middle;
	border:0;
	
}

.portfolio-btn:hover {
	opacity:0.8;
}

.portfolio-icon {
	width:100px;
}

.portfolio-icon img {
	margin-right:5px;
	margin-top:5px;
	
}

.portfolio-text {
	clear:both;
	font-size:12px;
	color:#666666;
 	font-family: 'PT Sans', sans-serif;
	line-height:20px;
}

.portfolio-text .title {
	width:65px;
	vertical-align:top;
	font-weight:bold;
 	font-family: 'PT Sans', sans-serif;
}

.portfolio-img {
	clear:both;
	width:100%;
	text-align:center;
}


.portfolio-img img {
	margin-bottom:30px;
  	width: 92.8%;
  	height: auto;
	border-bottom:3px #666666 solid;
}


/******************************
     news
*******************************/

.news{
}
.news .container{
    width:80%; margin:0 10%;
    margin-bottom: 50px;
    text-align:center;
}
.news img{
    margin:0 auto;
} 
.news .right{
    position: relative;
}
.news .combine{
    text-align:center;
}
.news .combine p{
    text-align:center;
}
.news .three_line{
    margin:10px 0 80px 0;
}
.news .threemore_line{
    margin:10px 0 80px 0;
}
.news .four_line{
    margin:10px 0 80px 0;
}
.news .fourmore_line{
    margin:10px 0 80px 0;
}
.news p{
    font-weight: bold;
}
.news p.year{
    font-size: 72px;
    color: #ff143f;
    font-family: Arial;
}
.news p.title{
    font-size: 22px;
    color: #3ebded;
    margin: 0 0 20px;
}
.news p.detail{
    font-size: 14px;
    color: #000;
    margin: 10px auto;
}
.news p.detail a{
    text-decoration: underline;
    color: #000;
}
.news p.detail a:hover{
    color: #3ebded;
}
