/*------------------------------------------------------------------
Customizer for Sartre Skin Design Agency
Version: 1.0.2;
Author: ThemeMountain/Daniel
Copyright: ThemeMountain

[Table of contents]

1. iV custom template changes
2. Resolution Media Queries

/*------------------------------------------------------------------
[1. iV custom template changes]
*/

body{
	color: #4d4d4d !important;
}

/* Titles */
h1,
h2,
h3,
h4,
h5,
h6{
	color: #4d4d4d !important;
}

h1
{
	font-weight: 900 !important;
    font-size: 5rem !important;
}

h3
{
    font-size: 2.5rem !important;
}

/*Horizon- Custom Navigation*/
#tms-next:before { 
	content: '\e92a';
    font-size: 4rem;
} 

#tms-prev:before {
	content: "\e929";
    font-size: 4rem;
}


/*Summit- Custom Navigation*/
#tml-exit:before{
	content: '\e98d'!important;
}
.tml-nav{
	font-size: 3.2rem !important;
    color:#000;
    opacity: 1 !important;
}

.tml-nav:hover{
    color:#D9E021 !important;
}

#tml-tool-bar{
	margin: 0;
	display: none;
	position: absolute;
	top: 1.5rem;
	left: 3rem;
}

/* Initial Logo Width */
.header .logo{
	width: 5.5rem !important;
}

/* Compacted Header Logo Width */
.header-compact .logo{
	width: 4rem !important;
}

.header .header-inner{
	background-color: #D9E021 !important;
	border-bottom: none !important;
	border-bottom: 1px solid transparent !important;
    box-shadow: 0px 0.33em 1em 0.33em rgba(0,0,0,0.05) !important;
}

.header .navigation > ul > li > a{
	margin: 0 1.0rem !important;
	padding-left: 0;
	padding-right: 0;
	font-size: 1.5rem !important;
	text-transform:lowercase !important;
	font-weight: 700;
	letter-spacing: 0;
}

/* Header Initial & Active Nav Colors */
.header .navigation > ul > li > a{
	color: #333 !important;
	opacity: 1;
}
.header .navigation > ul > li.current > a,
.header .navigation > ul > li > a:hover{
	color: #fff !important;
	opacity: 1;
}

/* Nav Icons Initial, Hover & Active Colors */
.header .navigation .nav-icon{
	color: #333 !important;
	font-size: 1.4rem;
	font-weight: 400;
	opacity: 1;
}
.header .navigation .nav-icon:hover,
.header .navigation .nav-icon.active{
	background-color: transparent;
	color: #fff !important;
	opacity: 1;
}

/* Overlay Main Nav */
.overlay-navigation > ul > li > a{
	font-size: 2.5rem;
	color: #333 !important;
    text-transform:lowercase !important;
	font-weight: 700 !important;
}

/* Overlay Nav Hover Colors */
.overlay-navigation > ul > li > a:hover,
.overlay-navigation > ul > li.current > a,
.overlay-navigation ul li.current > a:hover{
	color: #fff !important;
}

/* Overlay Main Nav */
.overlay-navigation-wrapper .navigation-hide a{
	color: #333 !important;
}
.overlay-navigation-wrapper .navigation-hide a:hover{
	color: #fff !important;
}

a:hover,
p a:hover,
.social-list li a:hover{
	color: #fff !important;
}

.overlay-navigation-wrapper{
	background-color: #D9E021 !important;
}

@media only screen and (max-width: 960px){
    .nav-social-hide {
		display: none !important; 
    }
}
.tms-bullet-nav{
	background: #333 !important;
}

.color-red,
.color-hover-red:hover{
	color: #c23824 !important;
}

.color-iv-green,
.color-hover-iv-green:hover{
	color: #D9E021 !important;
}

.color-pink,
.color-hover-pink:hover{
	color: #ff4556 !important;
}

.gmom-customsize{
    width: 30rem;
}

.grid-item{
    padding: 5px !important;
}

/* Folio Filter */
.grid-filter-menu a:hover{
	color: #232323 !important;
}

/* Hero Images (map on landing page) */
.hero-5-3 .media-column{
	background-image: url(../images/map.svg)!important;
}


.acto-bold{
    font-family: Acto-Bold;
	font-weight: normal; 
	font-style: normal;
}

.case-study-service-icon{
    padding-left: 1rem;
}

.case-study-title{
    color: #4d4d4d;
    font-size: 2.5rem;
    margin-bottom: 0rem;
}

/* Used to make change the "hover action" of the case study section on the main page*/
.img-scale-in:hover img,
.img-scale-out img,
.overlay-fade-img-scale-out img,
.overlay-fade-img-scale-in:hover img,
.overlay-img-scale-in:hover img{
	opacity: 1;
	-webkit-transform: scale3d(.95,.95,1)!important;
            transform: scale3d(.95,.95,1)!important;
    }
/* Used to make rounded edges for buttons, and case study grid items-images*/
.button{border-radius: .5rem !important;
    }

.rounded-corner {
    border-radius: .5rem !important;
}

.large-text {
    font-size: 2.5rem;
}

.medium-text {
    font-size: 2.1rem;
}
    
.border-3 {
    border-width: .2rem;
}
.border-charcoal{
    border-color: #333;
}
.align-middle {
    vertical-align:middle;
}

.super-large{
    font-size: 10rem !important;
}

@media only screen and (max-width: 480px){
    .super-large{
    font-size: 5rem !important;
    }
}

/* Used to make custom sizing for the main titles of the page*/

@media only screen and (min-width: 960px) {
    .page-title{
    font-size: 9rem !important;
    }
}

@media only screen and (max-width: 960px) {
	.page-title{
    font-size: 8rem !important;
	}
}

@media only screen and (max-width: 768px){
    .page-title{
    font-size: 6rem !important;
    }
}

@media only screen and (max-width: 480px){
    .page-title{
    font-size: 5rem !important;
    }
}

/* Used to make custom sizing for the main titles of the page*/

@media only screen and (min-width: 960px) {
    .tedx-padding{
    padding-top: 6rem !important;
    }
}

@media only screen and (max-width: 960px) {
	.tedx-padding{
    padding-top: 2rem !important;
    }
}

@media only screen and (max-width: 768px){
    .tedx-padding{
    padding-top: 0rem !important;
    }
}

@media only screen and (max-width: 480px){
    .tedx-padding{
    padding-top: 0rem !important;
    }
}



/*------------------------------------------------------------------
[2. Resolution Media Queries]
*/

/* Fixes weird line height when veiwing landing page slider on smaller screens */
@media only screen and (max-width: 768px){
	h1,
	.tms-caption .title-xlarge,
	.tmp-content .title-xlarge{
		font-size: 4.0rem !important;
		line-height: 4.0rem !important;
	}
}

    
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (		 min-device-pixel-ratio: 2),
only screen and (			min-resolution: 192dpi),
only screen and (				min-resolution: 2dppx) {

	.hero-5-4 .media-column{
		background-image: url(../images/clientlogos/rittersport_color2x.svg);
	}
    
    .hero-5-3 .media-column{
		background-image: url(../images/team/hero-half-2@2x.jpg);
	}

}

/* Logos Media Queries */
@media only screen and (min-width: 960px) {
	[class*="logos-"] .grid-item{
		width: 10%;
        margin-top: 2rem;
	}

}

@media only screen and (max-width: 960px) {
	[class*="logos-"]{
		height: auto;
	}
	[class*="logos-"] .grid-item{
		width: 15%;
        padding: 1rem;
        margin-left: 1.2rem;
	}
}
@media only screen and (max-width: 768px) {
	[class*="logos-"] .grid-item{
		width: 15%;
        padding: .5rem;
        margin-left: 2rem;
	}
}
@media only screen and (max-width: 480px){
	[class*="logos-"] .grid-item{
		width: 15%;
        padding: 0rem;
        margin-left: 1.4rem;
	}
}

/* Portfolio AND Team Images- Custom Grid sizes + more work button fixes */
@media only screen and (min-width: 960px) {
	.grid-item-portfolio{
		width: 20% !important;
        margin-bottom: -.3rem !important;
	}
    .portfolio-button{
        margin-top: 10rem;
	}
    .grid-item-team{
        width: 20% !important;
        margin-bottom: -.3rem !important;
    }
}

@media only screen and (max-width: 960px) {
    .grid-item-portfolio{
		width: 20% !important;
        margin-bottom: -.3rem !important;
	}
    .portfolio-button{
        margin-top: 8rem;
	}
    .grid-item-team{
        width: 20% !important;
        margin-bottom: -.3rem !important;
    }
}
@media only screen and (max-width: 768px) {
    .grid-item-portfolio{
		width: 20% !important;
	}
    .portfolio-button{
		margin-top: 0rem;
	}
    .grid-item-team{
        width: 33% !important;
        margin-bottom: -.3rem !important;
    }
}
@media only screen and (max-width: 480px){
    .grid-item-portfolio{
		width: 25% !important;
	}
    .portfolio-button{
        margin-top: 5rem;
	}
     .grid-item-team{
        width: 50% !important;
        margin-bottom: -.3rem !important;
    }
}

/* Awards- Custom Grid sizes + more work button fixes */
@media only screen and (min-width: 960px) {
	.grid-item-award{
		width: 16% !important;
	}
    .effie{
        padding-top: .8rem;
        
    }
}

@media only screen and (max-width: 1140px){
    .grid-item-award{
		width: 16% !important;
        margin-bottom: -.3rem !important;
        height: 20rem;
	}
    .eurobest{
        width: 43%;
        padding-top: .3rem;
    }
    .emmy{
        padding-top: 0rem;
    }
    .addy{
        padding-top: 3.6rem;
    }
    .transform{
        padding-top: 0rem;
    }
    
    .effie{
        padding-top: 4.6rem;
    }
    
    .telly{
        width: 53%;
        padding-top: .4rem;
    }

}

@media only screen and (max-width: 960px) {
    .grid-item-award{
		width: 16% !important;
        margin-bottom: -.3rem !important;
        height: 20rem;
	}
    .eurobest{
        width: 52%;
        padding-top: .2rem;
    }
    .emmy{
        padding-top: .3rem;
    }
    .addy{
        padding-top: 5.6rem;
    }
    .transform{
        padding-top: .6rem;
    }
    
    .effie{
        padding-top: 6.3rem;
    }
    
    .telly{
        width: 65%;
        padding-top: 0rem;
    }
    
}

@media only screen and (max-width: 768px) {
    .grid-item-award{
		width: 16% !important;
	}
    .eurobest{
        width: 50%;
        padding-top: .4rem;
    }
    .emmy{
        padding-top: 0rem;
    }
    .addy{
        padding-top: 3.7rem;
    }
    .transform{
        padding-top: .2rem;
    }
    
    .effie{
        padding-top: 4.3rem;
    }
    .telly{
        width: 60%;
        padding-top: .8rem;
    }
}

@media only screen and (max-width: 600px) {
	    .grid-item-award{
		width: 30% !important;
	}
    .eurobest{
        width: 40%;
        padding-top: 2rem;
    }
    .emmy{
        width: 85%;
        padding-top: .4rem;
    }
    .addy{
        padding-top: 3.6rem;
    }
    .transform{
         width: 70%;
        padding-top: 5rem;
    }
    
    .effie{
        padding-top: 5.8rem;
    }
    .telly{
        width: 44%;
        padding-top: 5rem;
    }
	
}

@media only screen and (max-width: 480px){
    .grid-item-award{
		width: 30%;
        padding-top: 0rem;
	}
    .eurobest{
        width: 53%;
        padding-top: 0rem;
    }
    .emmy{
        width: 100%;
        padding-top: .4rem;
    }
    .addy{
        width: 100%;
        padding-top: 4.4rem;
    }
    .transform{
        width: 80%;
        padding-top: 2.2rem;
    }
    
    .effie{
        padding-top: 2.8em;
    }
    .telly{
        width: 60%;
        padding-top: 0rem;
    }
}

/* Custom formatting for "sound focus" icons on about page */
@media only screen and (min-width: 960px) {
	.feature-icon-sound-focus{
        font-size:7rem !important;
        padding-right: 1rem !important;
        padding-bottom: 9rem !important;
        
    }   
}

@media only screen and (max-width: 1140px){
   .feature-icon-sound-focus{
        font-size:7rem !important;
        padding-right: 1rem !important;
        padding-bottom: 11rem !important;
        
    }
}

@media only screen and (max-width: 960px) {
    .feature-icon-sound-focus{
        font-size:7rem !important;
        padding-right: 1rem !important;
        padding-bottom: 19rem !important;
        
    }
}

@media only screen and (max-width: 768px) {
    .feature-icon-sound-focus{
        font-size:7rem !important;
        padding-right: 1rem !important;
        padding-bottom: 9rem !important;
        
    }
}

@media only screen and (max-width: 600px) {
    .feature-icon-sound-focus{
        font-size:7rem !important;
        padding-right: 1rem !important;
        padding-bottom: 12rem !important;
        
    }
	
}

@media only screen and (max-width: 480px){
   .feature-icon-sound-focus{
        font-size:7rem !important;
        padding-right: 1rem !important;
        padding-bottom: 21rem !important;
    }
    
}

/* Custom formatting for "our team" copy spacing on about page */
@media only screen and (min-width: 960px) {
    .grid-item-team{
        width: 33% !important;
        margin-bottom: -.3rem !important;
        min-height: 70rem;
    }
}

@media only screen and (max-width: 1140px){

}

@media only screen and (max-width: 960px) {
    .grid-item-team{
        width: 50% !important;
        margin-bottom: -.3rem !important;
    } 
    .team-uli{
        min-height: 35rem !important;
    }
    .team-gina{
        min-height: 38rem !important;
    }
    .team-bjorn{
        min-height: 0rem !important;
    }
    .workshop-icon{
    margin-right: 20rem !important;
}
}

@media only screen and (max-width: 768px) {
    .grid-item-team{
        width: 50% !important;
        margin-bottom: -.3rem !important;
    }
    .team-gina{
        min-height: 48rem !important;
    }
    .team-bjorn{
        min-height: 0rem !important;
    }
    .team-uli{
        min-height: 48rem !important;
    }
    
}

@media only screen and (max-width: 600px) {
    .team-gina{
        min-height: 63rem !important;
    }
    .team-bjorn{
        min-height: 0rem !important;
    }
    
}

@media only screen and (max-width: 480px){
    .grid-item-team{
        width: 100% !important;
        margin-bottom: -.3rem !important;
    }
    .team-gina{
        min-height: 1rem !important;
    }
    .team-bjorn{
        min-height: 0rem !important;
    }
    .team-uli{
        min-height: 0rem !important;
    }
}

/* Custom formatting for "iV academy" section */
@media only screen and (min-width: 960px) {
   
}

@media only screen and (max-width: 1140px){

}

@media only screen and (max-width: 960px) {
    .workshop-icon{
    margin-right: 20rem !important;
    margin-left: 5rem !important;
    }
}

@media only screen and (max-width: 768px) {
    .workshop-icon{
    margin-right: 1rem !important;
    margin-left: 15rem !important;
    }
    .workshop-text{
        font-size: 2rem !important;
    }
}

@media only screen and (max-width: 600px) {
    .workshop-icon{
    margin-right: 1rem !important;
    margin-left: 9rem !important;
    }
    .workshop-text{
        font-size: 2rem !important;
    }
}

@media only screen and (max-width: 480px){
    .workshop-icon{
    margin-right: 1rem !important;
    margin-left: 4.5rem !important;
    }
    .workshop-text{
        font-size: 1.5rem !important;
    }
}

/* Custom hide/reveal for strategy, content, research, management, sections on landing page  */

@media only screen and (max-width: 768px) {
    .hide-on-mobile-custom{
    display: none !important;
    }
    .show-on-mobile-custom{
    display: block !important;
    visibility: visible !important;
    }
}

/* ======================== Code Below for McD's Page Only========================  */

.padding-1{
    padding: 1rem !important; 
}

/* Custom formatting for "mcd banner" */
@media only screen and (min-width: 960px) {
   .mcd{
    margin-top: 4rem !important;
    }
}

@media only screen and (max-width: 1140px){
    .mcd{
    margin-top: 4rem !important;
    }
}

@media only screen and (max-width: 960px) {
    .mcd{
    margin-top: 0rem !important;
    }    
}

@media only screen and (max-width: 768px) {
    
}

@media only screen and (max-width: 600px) {
    
}

@media only screen and (max-width: 480px){
    
}

.mcd-yellow{
    color: #ffc300 !important;
}

.border-yellow{
    border-color: #ffc300 !important;
}

.mcd-border{
    border-width: 1rem;
}

.color-mcd-red{
    color:#dd1021;
}

.bkg-mcd-red{
    background-color: #dd1021;
}