@media (max-width:600px) {
#cat_boxes {
    display:none;
}
 div.square { display: block; }
  div.wide { display: none; } /*do not show the wide as funny on page*/
  
.topmain{
	display: block;
	width: 100%;
}
.topmain2{
	display: block;
	width: 100%;
}
.square .dealpicbox {
	position:relative;
	top:-59px;
}
.agentleft{
	width: 100%;
	
}
.agentright {
	width: 100%;
	padding: 0;
}
.agentlefthalf{
	width:100%;
}
.agentrighthalf{
	width:100%;
}
.agentmid {
	width: 100%;
	padding: 0;
}
.middlemain {
	margin-top: 20px;
	display:block;
	width: 100%;
}
.bottommain {
	padding: 5px;
	
}
.thirdpage66left {
	width: 100%;
	padding: 0;
}

.thirdpage33right {
	width: 100%;
	padding: 0;
}
.CNtitle {
	
	padding-left: 0px;
	margin-top: -30px;
	Margin-bottom: 20px;
}
.CNtitle h1 {
	margin-top: -50px;
	font-family: "Abril Fatface", serif;
	color: var(--bestatpale);
	font-style: normal;
	font-weight: 700;
	font-size: 4em;
}
.CNtitle h3 {
	font-family: "Satisfy", cursive;
	font-weight: 400;
	font-style: normal;
	padding-left: 150px;
	color: var(--bestat);
	font-size: 3em;
	margin-top: -40px;
}

.boxrow{
	width: 100%;
	display: flex;
}
.box20 {
	width: 33%;
}

.rowbutton {
	display: none;
}
.search100 {
	width: 90%;
	margin: auto;
}
.buttonrow{
	height: 40px;
}
.buttonrowleague{
	height: 140px;
}
.triple {
	width: 100%;
}
.trip_box {
    
    width: 100%;
    height: 35px;
}
#upload_offers{
    width:100%;
}
.boxpic_offers {
    width: 90%;
    max-width:90%;
    min-width:90%;
}
.advpic1{
    position:relative;
    border-radius: 5px 5px 0px 0px;
    height: 250px;
    width: 100%;

}
.flex-offers{
   
    border-right: none;
}
.flexbutsrow {
    
    display: block;
}
#navbar {
    flex-wrap: wrap;
    }
.menuitems {
    width:100%;
    display: flex;
    justify-content: space-around;
}
.logophone{
    width:100%;
}
.menuitems{
    width: 100%;
}
.headerpic .headertitle{
    width: 90%;
    margin: auto;

}
.headerpic .headingsummary{
    width:100%;
    margin-top: 20px;
}
.header-right {
	
}
.headersearch {
	width: 100%;
	height: 150px;
	margin: 0px;
	margin-top:50px;
	padding: 10px;
}
.searchformform {
	display: flex;
	width: 100%;
}
.headersearch h2{
	color: var(--mainfont);
	font-size: 1.2em;
	font-size: 1.2em;
	padding: 5px 20px 0px 0px;
}
.searchform input[type="text"] {
	margin: 10px auto;
	width: 60%;
	height: 40px;
	color: var(--mainback);
}
.searchbutton {
	color: var(--mainback);
	font-weight: bold;
	font-size: 1.1em;
}
.searchform input[type="submit"]{
	width: 25%;
	height: 40px;
	background-color: var(--action);
	margin-top: 10px;
	margin-left:0px;
	}
#upload_offers {
    float:none;
    width:100%;
}
#hoteloffers {
    float:none;
    width:100%;
}
#hoteloffers{
    display: flex;
    flex-wrap: wrap;
}
.hotel_box {
    margin: 10px auto ;
    max-width:90%;
    min-width: 90%;
    border-radius: 5px;
    height: max-content;
}
.hotel_pic {

    height: 225px;
    border-radius: 5px;
    
}
.footerbutton{
    margin:0px;
    padding: 10px 0px;
    
}
.footerbutton h3 a{
    padding: 0px;
    margin: 0px;
    font-size: 0.65em;
}
#pagearea{
    
    padding: 5px 30px;
    }
.formpanel{
      width:100%;
    }

.wordart img{
       display:none;
        width:100%;
    }
#dealssection {
	padding-left:5px;
	padding-right:5px;
	}
.square .sqdescr h3{
	
   display: -webkit-box;
   -webkit-line-clamp: 6; /* number of lines to show */
           line-clamp: 2;
   -webkit-box-orient: vertical;
}

/************* quote template for phone *********************/
.main {
    width:100%;
    }
	
.clear{
    clear:both;
}
.headerpicemail{
    width: 100%;
   }
.headerpic .headertitle{
    width: 80%;
   
}


.picfooter {
	height: 160px;
     width: 100%;
    }

.picfootersec {
    display: block;
	width:100%;
	
}
.lefttext{
    float:left;
    padding-left:25px;
    padding-top:5px;
	height: 80px;
}
.lefttext h3{
    padding-left:50px;
}
.rightlogo img {
	display: block;
	height: 70px;
	margin: auto;
	margin-top:5px;
}

#element{
    display: block;
    width:100%;
    
}
.boxes {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-bottom:5px;
}

.itdescpic100{
    width: 100%;
}
.itdescpic100 img{
    float:none;
	width: 100%;
    margin: 0px;
}
}
/*ipad or tablet*/
@media (min-width:501px) and (max-width:768px) {
    #upload_offers {
        float:none;
        width:100%;
    }
    #hoteloffers {
        float:none;
        width:100%;
    }
	.rowbutton {
	display: none;
	}
.search100 {
	width: 90%;
	margin: auto;
	}
}