﻿.searchOpenBtn
{
    background: transparent;
    float:right;
    width: 30px;
    padding: 0;
    background: url(/wp/wp-content/themes/pb/images/searchIcon.png) no-repeat;
    background-size: 30px;
    height: 35px;
    border: none;
    cursor: pointer;
    outline: none;
    margin-top: 12px;
    margin-left: 15px;
    vertical-align:middle;
}


#fullPageSearchBox {
    height: 100%;
    min-height: 85%;
    height: auto;
    overflow: scroll;
    bottom: 0;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 1000;
    top: 120px;
    left: 0;
    background: #efefef;
}

.fullPageSearchBox-content {
    position: relative;
    top: 5%;
    width: 80%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
}

#fullPageSearchBox .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 52px;
    cursor: pointer;
    color: #8697a0;
    border: solid 1px #8697a0;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 5px;
}
#fullPageSearchBox .closebtn div 
{
    margin-top: -14px;
}

#fullPageSearchBox .closebtn:hover {
    color: #ccc;
}

#fullPageSearchBox input[type=text] {
    padding: 14px 0 !important;
    font-size: 25px;
    border: none;
    float: left;
    width: 100%;
    background: white !important;
    overflow: hidden;
    text-indent: 0 !important;
    margin: 4px !important;
	content: 'Search...'; 
}
#fullPageSearchBox input[type=text]::placeholder 
{
    font-size: 25px;
	content: 'Search...'; 
}

#fullPageSearchBox .gsc-input-box
{
    border-radius: 5px;    
    height: 60px;
    border: none;
}

#fullPageSearchBox button {
    border: none;
    cursor: pointer;
    background: url(/wp/wp-content/themes/pb/images/searchIconGrey.png) no-repeat;
    height: auto;
    background-size: 35px;
    outline: none;
    margin-left: auto;
    width: 7px;
    min-height: 25px;
    padding: 6px 16px;
}

#fullPageSearchBox button:hover {
    background: url(/wp/wp-content/themes/pb/images/searchIconGreyHover.png) no-repeat;
    background-size: 35px;
}

#fullPageSearchBox button svg
{
    display: none;
}

#fullPageSearchBox .search-page-logo
{
    float: left;
    padding: 0 13px;
    margin-bottom: 15px;
}

#fullPageSearchBox h1
{
    font-size: 28pt !important;
    color: #8697a0;
    float: left;
    margin: 0;
}

#fullPageSearchBox .search-page-logo img
{
    max-width: 257px;
    margin-left: 15px;
}

#fullPageSearchBox .gsc-control-cse
{
    background: transparent;
    border: none;
}

#fullPageSearchBox .gsc-control-cse div
{
    text-align: left;
    font-family: 'Merriweather', serif;
}

#fullPageSearchBox .gsc-result .gs-title, #fullPageSearchBox .gsc-result .gs-title b
{
    font-size: 18pt;
    line-height: 19pt;
    height: 1.3em;
}
#fullPageSearchBox .gsc-adBlock
{
    display: none !important;
}

#fullPageSearchBox .gsc-orderby
{
    text-align: right !important;
}

#fullPageSearchBox .gsc-cursor-box
{
    font-size: 13pt;
    text-align: center !important;
}

#fullPageSearchBox .gsc-cursor-box .gsc-cursor-page
{
    background-color: transparent;
}
#fullPageSearchBox .gsc-results
{
    width: 100%;
}

#fullPageSearchBox .gs-image-box.gs-web-image-box.gs-web-image-box-portrait, #fullPageSearchBox .gs-image-box.gs-web-image-box.gs-web-image-box-landscape
{
    width: 160px;
    height: 133px;
}

#fullPageSearchBox .gs-web-image-box-portrait img.gs-image, #fullPageSearchBox  .gs-web-image-box-landscape img.gs-image
{
    max-width: 150px;
    max-height: 133px;
    min-width: 133px;
    min-height: 133px;
}

#fullPageSearchBox  .gs-web-image-box-landscape img.gs-image
{
    max-height: 100%;
    min-height: auto;
}

#fullPageSearchBox .gsc-result .gs-title:hover, #fullPageSearchBox .gsc-result .gs-title b:hover
{
    background: transparent;
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

	#fullPageSearchBox {
		top: 65px !important;
	}
}

@media only screen and (max-width: 1000px) 
{
    #fullPageSearchBox
	{
        top: 60px;
    }  
    
    #fullPageSearchBox .closebtn
	{
        top: 3px;
        right: 3px;
    } 
    .searchOpenBtn 
	{
        margin: 18px 5px auto 5px;
        background-size: 25px;
    }
}

@media only screen and (max-width: 676px) 
{
    .fullPageSearchBox-content, .search-page-logo, #fullPageSearchBox h1
	{
        width: 100%;
    }
        
    #fullPageSearchBox button 
	{
        margin-left: 0;
    }
    
    #fullPageSearchBox .closebtn
	{
        font-size: 37px;
        padding: 2px;
        width: 36px;
        height: 34px;
    } 
    
    #fullPageSearchBox .gsc-result .gs-title, #fullPageSearchBox .gsc-result .gs-title b
	{
        font-size: inherit;
        line-height: inherit;
        height: inherit;
    }
}