
.first-div{
    background-image: url("../images/nearshoreb.png");

}



.nearshore-container{
    width: 100%;
    position: absolute;
    margin-top: 0;
    margin-left: 0;
    display: block;
}

.white-container2{
    margin-left: 0;
    position: relative;
    width: 100%;
    background-color: white;
}


.orange-text-container{
    margin-top: 15vh;
    margin-left: 15%;
    width: 80%;
    max-width: 80%;
}

.white-text-container{
    margin-top: 8%;
    margin-left: 15%;
    width: 80%;
    max-width: 80%;
    display: block;
}

.orange-text{
    font-size: 65px;
}

.oswald-light-white{
    font-weight: 300;
    font-size: 55px;
    letter-spacing: 2.75px;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    display: block;
    width: 80%;
}

.oswald-light-gray{
    width: 85%;
    font-weight: 300;
    font-size: 25px;
    letter-spacing: 0px;
    color: #BBBEC4;
    font-family: 'PT Sans', sans-serif;
    display: block;  
    margin-top: 5vh;
    line-height: 48px;
}


/********************WHITE SECTION***************************************/


.advantages-nearshore-container{
    margin-top: 5%;
    margin-left: 15%;
    width: 70%;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 5%;
  }

.advantage-nearshore-item-container{
    flex-basis: 25%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1em;
    padding-top: 5em;
    text-align: center;
}

.advantage-item-content{
    width: 100%;
    display: block;
    align-items: center;
}

.advantage-item-text{
    display: block;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 25px;
}

.advantage-imageN{
    display: block;
    max-width: 35%;
    margin: auto;
    margin-bottom: 5%;

}
/***********************************************************************************/

.rectangle{
    margin-top: 0;
    height: 100%;
    width: 100%;
    margin-left: 0;
    min-width: 720px;
    max-height: 370px;
    min-height: 370px;
}

.wide-container{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  /*****************SHORE*****************************/
.wide-container2{
    padding-top: 5%;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: auto;
  }

.shore-container{
    margin-left: 0;
    position: relative;
    display: inline-block;
    padding: 0 1em 0 1em;
    min-width: 379px;
    min-height: 464px;
    box-shadow: 0px 0px 10px 5px #DEDBDB;
    border-radius: 20px;
}



.more-info-button{
    display: none;
    cursor: pointer;
}

.text-shore{
    width: 85%;
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666667;
    text-align: left;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: baseline;
    min-height: 220px;
}


.shore-cost2{
    width: 50%;
    position: relative;
    margin-right: -8%;
}

.second-title-shore{
    margin-bottom: 0%;
    display: flex;
    flex-flow: column;
}

.orange-shore-container{
    display: none;
}

.map-mex,.map-usa,.map-india{
    width: 95%;
    position: absolute;
    top: 35%;
    left: 53%;
    transform: translate(-50%, -50%);
}
.map-usa{
    width: 95%;
    top: 22%;
    left: 50%;   
}

.map-india{
    top: 27%;
    left: 50%;
    width: 95%;
}

.shore-image{
    width: 100%;
    display: none;
}

.shore-image-map{
    width: 100%;
}


.more-info-nearshore{
    width: 40%;
    text-align: center;
    margin: auto;
    margin-bottom: 10%; 
    margin-top: -4%;
    font-size: 20px; 
    font-weight: 700;
    display: flex;
    flex-flow: column;
    z-index: 55;
    position: relative;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 0.75px;
    line-height: 37px;    
    color: #f58832;
}

.more-info-nearshore-image{
    width: 86px;
    margin: auto;
    margin-bottom: 5%;

}

/***************************************************************************************************/
.two-column-item-bigger{
    padding-top: 5%;
    flex-basis: 40%;  
}

.two-column-item{
    padding-top: 5%;
    flex-basis: 50%;  
    display: flex;
}

.three-column-item{
    margin: 20px 10px 20px 10px;
    flex-basis: 24%;
    min-width: 386px;
    display: inline-block;
}

.image-text-container{
    margin-left: 0;
    position: relative;
    display: inline-block;
}

.single-item{
    width: 85%;
    padding-top: 4%;
    position: relative;
    display: inline-block;
    margin: auto;
}
/***********Texto sobre la figura naranja*************/
.text-figure{
    width: 50%;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-family: 'PT Sans', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 25px;
    color: white;
    text-align: left;
    line-height: 36px;
}

.pt-sans-big-gray{
    color:#757575;
    font-size: 30px;
    line-height: 37px;
}


.oswald-bold-orange{
    font-family: 'Oswald', sans-serif;
    color: #f58532;
    font-weight: 700;
    font-size: 30px;
}



.hide-text{
    min-width: 85%;
    max-width: 85%;
    display: none;
    font-size: 15px;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    color: white;
    letter-spacing: 0.35px;
    line-height: 24px;
}

.show-more{
    margin-top: 10%;
    margin-bottom: 5%;
    font-family: 'PT Sans', sans-serif;
    color: #EF8125;
    font-size: 17px;
    cursor: pointer;
    text-align: center;
    display: none;
}


.read-more{
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    color: #757575;
    display: none;
    width: 90%;
    margin-top: 10%;
    text-align: left;
    margin-left: 5%;
}

.shore-normal-text{
    font-family: 'PT Sans', sans-serif;
    line-height: 24px;
    font-size: 16px;
    width: 80%;
    margin-top: 2%;
}

@media (max-width:885px){
    .first-div{
        background-image: url("../images/nearshoreb.png");
        background-repeat:no-repeat;
        background-size: auto 100%;
        background-position-y: -2%;
        background-position-x: 80%;
    }
  }

  @media (max-width:1354px){
    #nearshore-item{
        order: 3;
    }
  }


  @media (max-width:1250px){
    .wide-container{
        flex-wrap: wrap;
    }

    .two-column-item{
        flex-basis: 100%;
    }

    .rectangle{
        min-width: 750px;
    }

    .more-info-nearshore{
        width: 80%;
    }
  }
/* ------------------------------------- */
@media (max-width:550px){

    #shore-mex{
        margin-top:22%;
    }
    .show-more{
        display: block;
    }
    .hide-text{
        display: block;
        margin: auto;
    }

    #nearshore-item{
        order: 1;
    }

    #nearshore-india{
        order: 2;
    }

    .orange-shore-container{
        display: flex;
        background-color: #f58532;
        border-radius: 20px;
        max-height: 360px;
        min-height: 360px;
        max-width: 324px;
        min-width: 324px;
        margin-bottom: 10%;
        margin-top: 5%;
        position: absolute;
        margin-left: 3%;
    }
    .more-info-button{
        position: absolute;
        z-index: 55;
        display: block;
        margin-top: -60px;
        margin-left: 263px;
    }
    
    .first-div{
        background-image: url("../images/nearshoreb.png");
        background-repeat:no-repeat;
        background-size: 200% auto;
        background-position-y: -2%;
        background-position-x: 80%;
    }
    
    
    .advantages-nearshore-container{
        width: 90%;
        margin-left: 5%;
    }

    .advantage-imageN{
        width: 40%;
        max-width: unset;
        margin-left: 19%;
    }

    .advantage-nearshore-item-container {
        flex-basis: 50%;
        padding: unset;
        padding-top: unset;
        margin-top: 10%;
        justify-content: center;

    }

    .advantage-item-text{
        font-size: 14px;
    }

    .oswald-light-gray{
        font-size: 14px;
        line-height: 22px;
    }

    .oswald-light-white{
        font-size: 24px;
        letter-spacing: 1.2px;
        line-height: 33px;
        margin-bottom: 10%;
        width: unset;
    }
    .orange-text-container{
        margin-left: 5%;
        width: 90%;
    }
    
    .white-text-container{
        margin-left: 5%;
        width: 90%;    
    }

    .oswald-light-gray{
        display: inline;
    }

    .advantage-item-content{
        width: 95%;
        margin-left: 12%;
    }

    .map-usa{
        width: 90%;
        top: 20%;
        left: 50%;
    }
    .map-mex{
        width: 100%;
        position: absolute;
        top: 35%;
    }

    .map-india{
        width: 85%;
        left: 50%;
        top: 23%;
    }

    .oswald-bold-orange{
        font-size: 20px;
    }

    .wide-container{
        display: none;
    }
    .wide-container2{
        width: 100%;
        margin-left: unset;
        margin-bottom: 30%;
        justify-content: unset;
    }

    .three-column-item{
        flex-basis: 90%;
        min-width: 90%;
        width: 90%;
        max-width: 90%;
        margin-left: 2%;
    }

    .more-info-nearshore{
        display: none;
    }

    .shore-image-map{
        width: 100%;
    }

    
    .shore-image{
        width: 100%;
        display: block;
        min-width: 328px;
    }

    .shore-cost{
        top: 35%;
        width: 45%;
        left: 50%;
        
    }

    .shore-cost2{
        width: 55%;
        position: relative;
    }
    .text-shore{
        width: 85%;
        left: 50%;
        top: 60%;
    }

    .shore-container{
        box-shadow: none;
        max-width: 340px;
        min-width: 340px;
        padding: unset;

    }

    .second-title-shore{
        margin-bottom: 10%;
    }

    .shore-normal-text{
        font-size: 13px;
    }

    .read-more{
        font-size: 15px;
    }
/**********************Animation to the left**********************************************************************/
@-moz-keyframes to-left{
	0% {
	}   
    
	100% {
        margin-left: -90%;   
	}
}

@-webkit-keyframes to-left{
	0% {
	}   
    
	100% {
        margin-left: -90%;   
	}
}

@-ms-keyframes to-left{
    0% {
	}   
    
	100% {
        margin-left: -90%;   
	}
}


@keyframes to-left{
	0% {
	}   
    
	100% {
        margin-left: -99%;   
	}
}
	.to-the-left {
        min-height: 350px;
        width: 100%;
		-moz-animation: to-left  1.5s forwards;
		-webkit-animation: to-leftt  1.5s forwards;
		-ms-animation: to-left  1.5s forwards;
			animation: to-left  1.5s forwards;
    }
	
	.to-the-left.off {
		-moz-animation-name: none;
        -webkit-animation-name: none;
        -ms-animation-name: none;
		animation-name: none;	
    }

/************************************************************************************************/

    @-moz-keyframes to-right{
        0% {
        }   
        
        100% {
            margin-left:0%;   
        }
    }
    
    @-webkit-keyframes to-right{
        0% {
        }   
        
        100% {
            margin-left:0%;   
        }
    }
    
    @-ms-keyframes to-right{
        0% {
        }   
        
        100% {
            margin-left:0%;   
        }
    }
    
    
    @keyframes to-right{
        0% {
        }   
        
        100% {
            margin-left: 0%;   
        }
    }
        .to-the-right {
            min-height: 350px;
            width: 100%;
            margin-left: -90%;
            -moz-animation: to-right  1.5s forwards;
            -webkit-animation: to-right  1.5s forwards;
            -ms-animation: to-right  1.5s forwards;
                animation: to-right  1.5s forwards;
        }
        
        .to-the-right.off {
            -moz-animation-name: none;
            -webkit-animation-name: none;
            -ms-animation-name: none;
            animation-name: none;	
        }
/**************************************************************************************************************/
}