/* -------------------------------------------------------------- */
/* --- The Montreal Office - About Page ------------------------- */
/* -------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 {
    font-family: 'futuracondensedlight';
    font-weight: normal;
    margin:10px 0;
}

body{
    font-family: 'helveticaneue_lt_37_thincnRg', Arial, sans-serif;
}

.center{text-align: center;}

.page_wrapper {
    margin:0 auto;
    position:relative;
    padding:0;
    width: 960px;
}

#top_title{
    margin:0 auto;
    height: 170px;
    padding-top: 30px;
    overflow: hidden;
}

#top_menu{
    display:block;
    position: relative;
    top: -160px;
    float:right;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1px;
    text-align: left;
    padding-left: 8px;
    padding-right: 10px;
    border: none;
    color: #7d7d7d;
    z-index: 10;
    cursor: pointer;
}

#top_menu a:link{text-decoration:none;color: #7d7d7d;}
#top_menu a:visited{text-decoration:none;color: #7d7d7d;}
#top_menu a:hover{color: #7eb83a;}

#title_headline{
    display:block;
    position: relative;
    top: -20px;
    font-size: 36px;
    line-height: 36px;
    color: #7d7d7d;
}

#phone_menu{
    visibility:hidden;
}

/* ---------same as portfolio to here------------------------------------------------ */

/* --------- introduction top section ------------------------------------------- */
.intro_block{
    max-width: 960px;
    height: 240px;
    border: none;
    margin:0 auto;
    display: flex;
}

#intro_box_left{
    width: 480px;
    height: 240px;
    object-fit: cover;
}

#intro_box_right{
    width: 480px;
    height: 240px;
    object-fit: cover;
}

/* the montreal office footer */
#tmo_footer{
    display:block;
    position: relative;
    top: 0px;
    margin:0 auto;
    height: 400px;
    background-color: #fff;
    max-width: 100%;

}

.footer_img{
    max-width: 100%;
    position:relative; display:block; top:0px;
}

#tmo_contact{
    float:left;
    width: 35%;
    height: 100%;
    background-color: #959595;
}

#tmo_desc{
    float:right;
    width: 65%;
    height: 100%;
    background-color: #d7d7d7;

}
#tmo_desc p{
    padding-left: 35px;
    padding-right: 35px;
    font-size: 100%;
}
.spacer{
    display:block;
    position: relative;
    height: 40px;
}

/* global */
.clear {clear:both;}
.usquare_module_wrapper {
	width:960px; 
	margin:0 auto;
}

.usquare_module_wrapper h2 {
	font-family:'helveticaneue_lt_37_thincnRg';
	color:#ffffff;
	font-size:42px;
	padding:0;
	margin:0;
	line-height:42px;
}

.usquare_module_wrapper span {
	padding:0; 
	margin:0; 
	font-family:'PTSansRegular'; 
	color:#ffffff; 
	font-size:18px;
    line-height: 20px;
	display:block;
}

.usquare_module_wrapper ul {
	padding:0; 
	margin:0;
}

.usquare_module_wrapper li {
	list-style:none; 
	padding:0; 
	margin:0;
}

.usquare_module_wrapper .bold {
	font-weight:bold; 
	margin:5px 15px 0;
}

.usquare_module_wrapper a {
	text-decoration:none;
}

.usquare_module_wrapper img {
	border:none;
}

.__separator_block {
	display:block; 
	height:100px; 
	width:960px;
}


/*	usquare	 */
/*	size of the double square	 */
.usquare_block {
	float:left; 
	height:240px;
	width:480px;
	position:relative; 
	text-align:left;
}

.usquare_square {
	position:relative; 
	display:block; 
	height:240px;
	width:240px;
	overflow:hidden; 
	float:left;
}

img.usquare_square {
	cursor:pointer;
}

.usquare_block .usquare_r {
	text-align:right;
    width: 210px;
}

.usquare_square_text_wrapper {
	position:absolute; 
	bottom:0; 
	text-align:left;
    padding:0 15px;
    margin-top: 10px;
}

.usquare_arrow {
    position:absolute;
    display:block;
	margin-top:35px;
    margin-left:216px;
    cursor:pointer;
}

.usquare_arrow_l {
    position:absolute;
    display:block;
    margin-top:35px;
    margin-left:238px;
    cursor:pointer;
}

.usquare_arrow_r {
	float:right;
}

/* selected block design section*/

.usquare_block_selected {
    /*-moz-box-shadow:10px 10px 10px rgba(0, 0, 0, 0.4);*/
    /*-webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);*/
    /*box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4); */
    z-index:3;
    /*behavior: url(/PIE.htc);*/
    zoom:1;
}

.usquare_block_selected img.usquare_square {
filter: none;
-webkit-filter: grayscale(0);
cursor:auto;
}

/*.usquare_block_selected .usquare_square_text_wrapper {bottom:auto; top:0;}*/
.usquare_module_wrapper {
	position:relative;
}

.usquare_module_shade {
 	display: none;
	background-color:#000000; 
	opacity:0.5;
	filter: alpha(opacity=50);
	position:absolute; 
	top:0; 
	left:0; 
	width:960px;
	height:100%; 
	z-index:2; 
}

.usquare_block_extended {
	display: none; 
	height:480px;
	width:480px;
	margin-top:240px;
    /*-moz-box-shadow:10px 10px 10px rgba(0, 0, 0, 0.4);*/
    /*-webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);*/
    /*box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4); */
    /*behavior: url(/PIE.htc);*/
}

.closing_pic {
    display: block;
    margin:0 auto;
}

.usquare_block_extended .close {
    position:absolute;
    top:10px;
    left:442px;
    cursor: pointer;
}

.usquare_block_extended .close_left_side {
    left:10px;
}

.usquare_block_extended li {
    display:inline-block;
}

.usquare_block_extended li a {
    display:block;
    margin:0 4px 0 4px;
    padding:8px 5px 5px 5px;
}

.usquare_block_extended li a:hover {
    background: transparent;
    background-color:rgba(0,0,0,0.3);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000)"; /* IE8 */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);   /* IE6 & 7 */      
	zoom: 1;
}
.usquare_block_extended ul.social_background {
	display:block; 
	width:100%; 
	z-index:4; 
	opacity:1; 
	filter: alpha(opacity=100);
	background-color:rgba(0,0,0,0.15); 
	padding:6px 0px 6px 0px;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#26000000,endColorstr=#26000000)"; /* IE8 */    
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#26000000,endColorstr=#26000000);   /* IE6 & 7 */      
	zoom: 1;
}
.usquare_block_extended .usquare_about {
	padding:0; 
	margin:0 15px; 
	height:355px; /* space for the text before scroll */
	overflow:hidden;
	font-family:'PTSansRegular'; 
	color:#ffffff; 
	font-size:16px;
}

/* grayscale code section*/
img.usquare_square {
    filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */}
img.usquare_square:hover {
    filter: none;
    -webkit-filter: grayscale(0);}

/*block color gradient section*/
.usquare_square_bg1 {background-color: #3A3FE3;}
.usquare_square_bg2 {background-color: #27ae60;}
.usquare_square_bg3 {background-color:#f15e3c;}
.usquare_square_bg4 {background-color: #9b59b6;}
.usquare_square_bg5 {background-color: #2980b9;}
.usquare_square_bg6 {background-color: #16a085;}
.usquare_square_bg7 {background-color: #f57f3f;}
.usquare_square_bg8 {background-color: #34495e;}
.usquare_square_bg9 {background-color: #f1c40f;}
.usquare_square_bg10 {background-color: #f10825;}


/* -------------------------------------------------------------- */
/* --- REPSONSIVE 800px ----------------------------------------- */
/* -------------------------------------------------------------- */

@media screen and (max-width:960px) {
    .page_wrapper {
        width: 800px;
    }
    .usquare_module_shade{
        width: 800px;
    }
    .usquare_block {
        height:200px;
        width:400px;
    }
    .usquare_square {
        height:200px;
        width:200px;
    }
    .usquare_module_wrapper h2 {
        font-size:36px;
        line-height:36px;
    }
    .usquare_block .usquare_r {
        width: 175px;
    }
    .usquare_arrow {
        margin-top:35px;
        margin-left:178px;
    }
    .usquare_arrow_l {
        margin-top:35px;
        margin-left:197px;
    }

    .usquare_module_wrapper span {
        font-size:16px;
        line-height: 18px;
    }

    .usquare_block_extended {
        height:400px;
        width:400px;
        margin-top:200px;
    }
    .usquare_block_extended .close {
        top:10px;
        left:363px;
    }
    .usquare_block_extended .close_left_side {
        left:12px;
    }

    .usquare_block_extended .usquare_about {
        height:320px; /* space for the text before scroll */
        font-size:16px;
    }

    .intro_block{
        width: 800px;
        height: 200px;
    }
    #intro_box_left, #intro_box_right{
        width: 400px;
        height: 200px;
    }
}


/* -------------------------------------------------------------- */
/* --- REPSONSIVE 480px ----------------------------------------- */
/* -------------------------------------------------------------- */

@media screen and (max-width:768px) {
    .page_wrapper {
        width: 480px;
    }
    .usquare_module_wrapper {
        width:480px;
    }
    .usquare_module_shade{
        width: 480px;
    }
    .usquare_block {
        height:240px;
        width:480px;
    }
    .usquare_square {
        height:240px;
        width:240px;
    }
    .usquare_block .usquare_r {
        width: 210px;
    }
    .usquare_arrow {
        margin-top:35px;
        margin-left:217px;
    }
    .usquare_arrow_l {
        margin-top:35px;
        margin-left:237px;
    }
    .usquare_module_wrapper span {
        font-size:18px;
        line-height: 20px;
    }
    .usquare_module_wrapper h2 {
        font-size:42px;
        line-height:42px;
    }

    .usquare_block_extended {
        height:480px;
        width:480px;
        margin-top:240px;
    }
    .usquare_block_extended .close {
        top:10px;
        left:442px;
    }
    .usquare_block_extended .close_left_side {
        left:12px;
    }

    .usquare_block_extended .usquare_about {
        height:345px; /* space for the text before scroll */
        font-size:16px;
    }

    .intro_block{
        width: 480px;
        height: 480px;
        flex-direction: column;
    }
    #intro_box_left, #intro_box_right{
        width: 480px;
        height: 240px;
    }

    #tmo_contact{
        width: 100%;
        height: 100%;
    }
    .footer_img{ width: 300px;
        top:-20px;}
    #tmo_desc{
        float: left;
        width: 100%;
    }


}

/* -------------------------------------------------------------- */
/* --- REPSONSIVE 320px ----------------------------------------- */
/* -------------------------------------------------------------- */

@media screen and (max-width:400px) {
    .page_wrapper {
        width: 320px;
    }
    #top_title{
        padding-left:10px;
    }

    .usquare_module_wrapper {
        width:320px;
    }
    .usquare_module_shade{
        width: 320px;
    }
    .usquare_block {
        height:160px;
        width:320px;
    }
    .usquare_square {
        height:160px;
        width:160px;
    }
    .usquare_module_wrapper h2 {
        font-size:24px;
        line-height:24px;
    }
    .usquare_block .usquare_r {
        width: 130px;
    }
    .usquare_arrow {
        margin-top:25px;
        margin-left:137px;
    }
    .usquare_arrow_l {
        margin-top:25px;
        margin-left:157px;
    }
    .usquare_module_wrapper span {
        font-size:14px;
        line-height: 16px;
    }
    .usquare_block_extended {
        height:320px;
        width:320px;
        margin-top:160px;
    }
    .usquare_block_extended .usquare_about {
        height:210px; /* space for the text before scroll */
        font-size:12px;
    }
    .usquare_block_extended .close {
        top:10px;
        left:283px;
    }
    .usquare_block_extended .close_left_side {
        left:12px;
    }
    .hide{visibility:hidden;}
    .footer_img{ width: 280px;
        top:-20px;}
    #tmo_desc{display:none;}
    .intro_block{
        width: 320px;
        height: 320px;
        flex-direction: column;
    }
    #intro_box_left, #intro_box_right{
        width: 320px;
        height: 160px;
    }
    #top_menu{
        visibility:hidden;
    }
    #phone_menu{
        visibility:visible;
        display:block;
        position: relative;
        z-index: 10;
        cursor: pointer;
        top: 6px;
    }
    #phone_menu a:link{text-decoration:none;color: #7d7d7d;}
    #phone_menu a:visited{text-decoration:none;color: #7d7d7d;}
    #phone_menu a:hover{color: #7eb83a;}


}