﻿
/******************************************
 *   CONTAINER FOR SEARCH BAR AND VCL WIDGET
 ******************************************/
#search_vcl_container {
    display: inline-block;
    min-width: 24%;
    vertical-align: top;
    margin-top: 1em;
    z-index: 8000;
}

@media screen and (orientation: portrait) and (max-width: 450px) {
    #search_vcl_container {
        display: block;
    }

    #spacerdiv {
        display: none;
    }

    #search_bar {
        text-align: center;
        margin-bottom: 1.5em !important;
    }

    .vcl-button-box {
        width: 84% !important;
        margin-left: auto;
        margin-right: auto;
    }
}

/******************************************
 *   SEARCH BAR ABOVE NAV BAR
 ******************************************/
#search_bar {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    font-size: 16px;
    color: darkgray;
    /*  height: 30px !important; */
    display: block;
}

    #search_bar input {
        height: 30px !important;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border: 1px #b2b2b2 solid;
    }

#search_button {
    width: 55px;
    text-align: center;
    background-color: #00205C;
    font-size: 17px;
    font-weight: bold;
    margin-left: 0;
    padding: .1em;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 34px !important;
}


/******************************************
 *   VETERANS CRISIS LINE WIDGET
 ******************************************/
#vcl-widget {
    /* 	display: inline-block;
	min-width: 20%;
	vertical-align: top;
	margin-top: 1em;
    z-index: 8000; */
    cursor: pointer;
}

.vcl-button-box {
    display: block;
    width: 93%;
    border: solid 2px #c40d3c;
    padding: 6px 3px 1px 16px;
    cursor: pointer;
    border-radius: 6px;
}

.vcl-button-logo {
    display: inline-block;
    width: 28%;
    vertical-align: middle;
}

.vcl-button-logo-color {
}

.vcl-button-logo-white {
    display: none;
}

.vcl-button-text {
    display: inline-block;
    width: 57%;
    line-height: 1;
    font-size: 14px;
    vertical-align: top;
}

.vcl-button-arrow {
    display: inline-block;
    width: 10%;
    vertical-align: middle;
    font-size: x-large;
    color: #00205C;
}

.vcl-button-text-1, .vcl-button-text-2 {
    margin: 0;
    font-size: 14px !important;
    line-height: 14px !important;
}

.vcl-button-text-1 {
    color: #0071BB;
    font-weight: bold;
}

.vcl-button-box:hover, .vcl-button-box:focus {
    border: solid 2px #fff;
    background-color: #00205C;
}

    .vcl-button-box:hover > .vcl-button-text > .vcl-button-text-1, .vcl-button-box:focus > .vcl-button-text > .vcl-button-text-1, .vcl-button-box:hover > .vcl-button-text > .vcl-button-text-2, .vcl-button-box:focus > .vcl-button-text > .vcl-button-text-2 {
        color: #fff;
    }

    .vcl-button-box:hover > .vcl-button-arrow, .vcl-button-box:focus > .vcl-button-arrow {
        color: #fff;
    }

    .vcl-button-box:hover > .vcl-button-logo-color, .vcl-button-box:focus > .vcl-button-logo-color {
        display: none;
    }

    .vcl-button-box:hover > .vcl-button-logo-white, .vcl-button-box:focus > .vcl-button-logo-white {
        display: inline-block;
    }

#vcl-popup {
    width: 1100px;
    height: 600px;
    background: white;
    border-radius: 5px;
    position: absolute;
    top: 12em;
    margin-left: 6%;
    z-index: 999999;
}

.vcl-popup-left {
    display: inline-block;
    width: 45%;
}

.vcl-popup-image-background {
    height: 365px;
    width: 350px;
    border-radius: 5px;
    margin: 25% 14%;
}

.vcl-popup-image-logo {
    width: 180px;
    height: 223px;
    position: absolute;
    left: 150px;
    top: 200px;
}

.vcl-popup-right {
    display: inline-block;
    width: 54%;
    vertical-align: top;
    padding-top: 5%;
}

.vcl-popup-exit-enclose {
    display: block;
    padding-left: 95%;
    position: absolute;
}

#vcl-popup-exit {
    background: none;
    cursor: pointer;
    text-align: right;
    width: 25px;
    color: #c40d3c;
    font-size: x-large;
    margin-top: 1em;
}

.vcl-popup-heading {
    color: #00205C;
}

.vcl-popup-text {
    padding-right: 75px;
    font-size: larger;
    margin-bottom: 2em;
}

.vcl-popup-text-calltextchat {
    font-size: x-large;
    line-height: 1.5em;
}

    .vcl-popup-text-calltextchat > a {
        color: #0071BB;
    }

        .vcl-popup-text-calltextchat > a:focus {
            text-decoration: underline;
        }

.vcl-fontawesome-icon {
    margin-right: 1em;
    color: #00205C;
}

.vcl-popup-text-more {
    text-align: center;
    margin-top: -3em;
}

    .vcl-popup-text-more > a {
        color: #0071BB;
    }

.vcl-popup-visible {
    display: block;
}

.vcl-popup-hidden {
    display: none;
}

#vcl-popup-grayout {
    width: 100%;
    height: 100%;
    background-color: rgb(169 169 169 / 0.5);
    color: rgb(169 169 169 / 0.5);
    position: fixed;
    z-index: 1000;
}

.vcl-popup-grayout-hidden {
    display: none;
}

.vcl-popup-grayout-visible {
    display: block;
}

@media screen and (orientation: portrait) and (max-width: 450px) {
    #vcl-popup {
        width: 90vw;
        height: 90vh;
        position: fixed;
        top: 5%;
        margin: 0 5%;
    }

    .vcl-popup-exit-enclose {
        padding-left: 80vw;
        margin-top: -15px;
    }

    .vcl-popup-left {
        display: block;
        width: 90vw;
        height: 41vh;
        text-align: center;
    }

    .vcl-popup-image-background {
        height: 100%;
        width: unset;
        margin: 5px 0;
    }

    .vcl-popup-image-logo {
        width: unset;
        height: 35vh;
        left: 13vw;
        top: 5vh;
    }

    .vcl-popup-right {
        display: block;
        width: 90vw;
        padding: 0;
    }

    .vcl-popup-heading {
        text-align: center;
        margin-top: 2vh;
        font-size: x-large;
    }

    .vcl-popup-text {
        padding: 0 10px;
        margin-bottom: 1em;
        font-size: 4vw;
    }

    .vcl-popup-text-calltextchat {
        font-size: 4vw;
        line-height: 1em;
        margin-left: 5vw;
    }

    .vcl-popup-text-more {
        margin-top: 5vh;
        font-size: small;
    }

    #searchpageform {
        display: none;
    }

    .wg-searchpage-searchtext {
        display: none;
    }
}

/******************************************
 *   GOOGLE CUSTOM SEARCH
 ******************************************/
.gcsc-more-maybe-branding-root {
    display: none;
}

.gsc-search-button {
    margin-left: 0 !important;
}
.gsc-search-button-v2 {
    width: 55px;
    text-align: center;
    background-color: #00205C;
    font-size: 17px;
    font-weight: bold;
    margin-left: 0;
    padding: 0.1em;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    height: 34px !important;
    padding: 0;
}

.gsc-input {
    color: #000;
}

#gsc-i-id1, #gsc-i-id2, #gsc-iw-id1, #gsc-iw-id2 {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    font-size: 16px;
    height: 32px !important;
    display: block;
    background: none !important;
}

.gsc-input-box {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1px #b2b2b2 solid !important;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    font-size: 16px;
    color: darkgray !important;
    height: 32px !important;
    display: block;
}

 @media screen and (orientation: portrait) and (max-width: 450px) {
 	 #gsc-i-id1, #gsc-i-id2, #gsc-iw-id1, #gsc-iw-id2 { 
		height: 21px !important;
	}
 }


table.gsc-search-box td.gsc-input {
    padding-right: 0 !important;
}

.gsib_a {
    padding: 0 5px;
}

/*************************************************
 *   GOOGLE CUSTOM SEARCH -- CCN HANDBOOK SEARCH
 *************************************************/
 
 #handbook-search table, #handbook-search table tr {
 	background-color: #fff;
	border: none;	
 }
 
 #handbook-search table.gsc-search-box, #handbook-search td {
 	border-style: none;
	border-width: 0;
	border-spacing: 0 0;
	width: 100%;
	margin-bottom: 2px;
	border-top: 0;
	border-right: 0;
	padding: 0;
 }
 
 #handbook-search .gsc-input-box > table {
       margin: 0 5px;
 }
 
 #handbook-search .search-title {
	text-align: center;
	margin-bottom: 0.5em;
	font-size: 18px;
 }
 
 #handbook-search {
    border: 1px solid #b2b2b2;
    border-radius: 5px;
    padding: 0.5em;
    width: 40%;
    margin: 0 2em 3em 0;
    float: right;
 }
 
 #handbook-search.ccn-fullwidth {
    width: 75% !important;
    margin: 1em auto 2em !important;
    float: none !important;
 }

 @media screen and (orientation: portrait) and (max-width: 450px) {
	 #handbook-search {
	 	width: 87%;
		float:none;
		margin: 0 auto 2em;
	 }
 }

